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

core: dprint - simplified sip msg check

Daniel-Constantin Mierla 3 жил өмнө
parent
commit
d7e8ae72a0
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      src/core/dprint.c

+ 1 - 1
src/core/dprint.c

@@ -504,7 +504,7 @@ void log_prefix_set(sip_msg_t *msg)
 	log_callid_set(msg);
 	if(log_prefix_pvs == NULL)
 		return;
-	if(msg==NULL || !(IS_SIP(msg) || IS_SIP_REPLY(msg))) {
+	if(msg==NULL || !IS_SIP_MSG(msg)) {
 		log_prefix_val = NULL;
 		return;
 	}