Procházet zdrojové kódy

empty contact_user str in case the contact user is missing.

Marius Bucur před 13 roky
rodič
revize
66e52b00f4
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  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 */