Module: kamailio
Branch: master
Commit: e9be20215b8e995bac698b54b7960cdaa9b60798
URL:
https://github.com/kamailio/kamailio/commit/e9be20215b8e995bac698b54b7960cd…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2018-06-06T08:10:15+02:00
topos: fix condition to match KDMQ method
---
Modified: src/modules/topos/topos_mod.c
---
Diff:
https://github.com/kamailio/kamailio/commit/e9be20215b8e995bac698b54b7960cd…
Patch:
https://github.com/kamailio/kamailio/commit/e9be20215b8e995bac698b54b7960cd…
---
diff --git a/src/modules/topos/topos_mod.c b/src/modules/topos/topos_mod.c
index 408c964e62..5d3e4aec9c 100644
--- a/src/modules/topos/topos_mod.c
+++ b/src/modules/topos/topos_mod.c
@@ -405,7 +405,7 @@ int tps_msg_sent(sr_event_param_t *evp)
goto done;
}
if(get_cseq(&msg)->method.len==4
- && strncmp(get_cseq(&msg)->method.s, "KDMQ", 4)) {
+ && strncmp(get_cseq(&msg)->method.s, "KDMQ", 4)==0) {
goto done;
}
}