Browse code

cfgt: fix compile warning for len field comparison

Daniel-Constantin Mierla authored on 16/12/2015 07:20:55
Showing 1 changed files
... ...
@@ -236,7 +236,7 @@ cfgt_node_p cfgt_create_node(struct sip_msg *msg)
236 236
 	{
237 237
 		node->msgid = msg->id;
238 238
 		LM_DBG("msgid:%d\n", node->msgid);
239
-		if(_cfgt_get_hdr(msg, &node->uuid)!=0 || &node->uuid.len==0)
239
+		if(_cfgt_get_hdr(msg, &node->uuid)!=0 || node->uuid.len==0)
240 240
 		{
241 241
 			LM_ERR("cannot get value of cfgtest uuid header!!\n");
242 242
 			goto error;