[sr-dev] git:3.2: empty contact_user str in case the contact user is missing.
Marius Ovidiu Bucur
marius at marius-bucur.ro
Mon Jan 30 14:33:07 CET 2012
Module: sip-router
Branch: 3.2
Commit: 66e52b00f40a93b8f79ad7d8330f8aad16ca55d8
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=66e52b00f40a93b8f79ad7d8330f8aad16ca55d8
Author: Marius Bucur <marius.bucur at 1and1.ro>
Committer: Marius Bucur <marius.bucur at 1and1.ro>
Date: Mon Jan 30 15:32:49 2012 +0200
empty contact_user str in case the contact user is missing.
---
modules/sipcapture/sipcapture.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/modules/sipcapture/sipcapture.c b/modules/sipcapture/sipcapture.c
index c3fdcde..c376dd0 100644
--- a/modules/sipcapture/sipcapture.c
+++ b/modules/sipcapture/sipcapture.c
@@ -1189,6 +1189,7 @@ static int sip_capture(struct sip_msg *msg, char *s1, char *s2)
else {
EMPTY_STR(sco.contact_ip);
sco.contact_port = 0;
+ EMPTY_STR(sco.contact_user);
}
/* X-OIP */
More information about the sr-dev
mailing list