Module: kamailio
Branch: master
Commit: 1af163d0f658541ead6e81edc52cdadb4049896a
URL:
https://github.com/kamailio/kamailio/commit/1af163d0f658541ead6e81edc52cdad…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2021-03-17T18:02:17+01:00
dmq: proper check of proto match in cmp_dmq_node()
---
Modified: src/modules/dmq/dmqnode.c
---
Diff:
https://github.com/kamailio/kamailio/commit/1af163d0f658541ead6e81edc52cdad…
Patch:
https://github.com/kamailio/kamailio/commit/1af163d0f658541ead6e81edc52cdad…
---
diff --git a/src/modules/dmq/dmqnode.c b/src/modules/dmq/dmqnode.c
index fe23890742..7e6ef93bdf 100644
--- a/src/modules/dmq/dmqnode.c
+++ b/src/modules/dmq/dmqnode.c
@@ -88,7 +88,7 @@ int cmp_dmq_node(dmq_node_t *node, dmq_node_t *cmpnode)
}
return STR_EQ(node->uri.host, cmpnode->uri.host)
&& STR_EQ(node->uri.port, cmpnode->uri.port)
- && (node->uri.proto, cmpnode->uri.proto);
+ && (node->uri.proto == cmpnode->uri.proto);
}
/**