Module: sip-router
Branch: master
Commit: 070f8f313b73d4fd168bef2800e4c17561c9e34d
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=070f8f3…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Thu Jan 28 19:43:50 2010 +0100
pv(k): use $TV(Sn) for string timeval
- previous commit introduced a naming conflict on 'sn'
---
modules_k/pv/pv_time.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules_k/pv/pv_time.c b/modules_k/pv/pv_time.c
index 8f532f9..7ea0d23 100644
--- a/modules_k/pv/pv_time.c
+++ b/modules_k/pv/pv_time.c
@@ -283,7 +283,7 @@ int pv_parse_timeval_name(pv_spec_p sp, str *in)
sp->pvp.pvn.u.isname.name.n = 2;
else if(strncmp(in->s, "un", 2)==0)
sp->pvp.pvn.u.isname.name.n = 3;
- else if(strncmp(in->s, "sn", 2)==0)
+ else if(strncmp(in->s, "Sn", 2)==0)
sp->pvp.pvn.u.isname.name.n = 4;
else goto error;
break;