Преглед изворни кода

empty contact_user str in case the contact user is missing.

Marius Bucur пре 13 година
родитељ
комит
66e52b00f4
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      modules/sipcapture/sipcapture.c

+ 1 - 0
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 */