2
0
Эх сурвалжийг харах

sipcapture: more init buffers content

Daniel-Constantin Mierla 3 жил өмнө
parent
commit
0b684a5d9a

+ 2 - 0
src/modules/sipcapture/sipcapture.c

@@ -2569,6 +2569,8 @@ int receive_logging_json_msg(char *buf, unsigned int len,
 	str corrtmp = STR_NULL;
 	_capture_mode_data_t *c = NULL;
 
+	ipstr_dst[0] = '\0';
+	ipstr_src[0] = '\0';
 	c = capture_def;
 	if(!c) {
 		LM_ERR("no connection mode available to store data\n");