Module: kamailio
Branch: master
Commit: b8e3aff1079e4a617aa273553a20d664d0c368c2
URL: 
https://github.com/kamailio/kamailio/commit/b8e3aff1079e4a617aa273553a20d664d0c368c2

Author: Daniel-Constantin Mierla <[email protected]>
Committer: Daniel-Constantin Mierla <[email protected]>
Date: 2015-12-16T08:20:55+01:00

cfgt: fix compile warning for len field comparison

---

Modified: modules/cfgt/cfgt_int.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/b8e3aff1079e4a617aa273553a20d664d0c368c2.diff
Patch: 
https://github.com/kamailio/kamailio/commit/b8e3aff1079e4a617aa273553a20d664d0c368c2.patch

---

diff --git a/modules/cfgt/cfgt_int.c b/modules/cfgt/cfgt_int.c
index f5e87db..5bd48ba 100644
--- a/modules/cfgt/cfgt_int.c
+++ b/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;


_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to