Browse Source

cfgt: fix compile warning for len field comparison

Daniel-Constantin Mierla 9 years ago
parent
commit
b8e3aff107
1 changed files with 1 additions and 1 deletions
  1. 1 1
      modules/cfgt/cfgt_int.c

+ 1 - 1
modules/cfgt/cfgt_int.c

@@ -236,7 +236,7 @@ cfgt_node_p cfgt_create_node(struct sip_msg *msg)
 	{
 		node->msgid = msg->id;
 		LM_DBG("msgid:%d\n", node->msgid);
-		if(_cfgt_get_hdr(msg, &node->uuid)!=0 || &node->uuid.len==0)
+		if(_cfgt_get_hdr(msg, &node->uuid)!=0 || node->uuid.len==0)
 		{
 			LM_ERR("cannot get value of cfgtest uuid header!!\n");
 			goto error;