[sr-dev] git:5.1:cce9bab1: topos: fix condition to match KDMQ method
Daniel-Constantin Mierla
miconda at gmail.com
Thu Jun 7 09:00:42 CEST 2018
Module: kamailio
Branch: 5.1
Commit: cce9bab16ed607041a9849234e6b26fca72319e9
URL: https://github.com/kamailio/kamailio/commit/cce9bab16ed607041a9849234e6b26fca72319e9
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2018-06-07T08:58:57+02:00
topos: fix condition to match KDMQ method
(cherry picked from commit e9be20215b8e995bac698b54b7960cdaa9b60798)
---
Modified: src/modules/topos/topos_mod.c
---
Diff: https://github.com/kamailio/kamailio/commit/cce9bab16ed607041a9849234e6b26fca72319e9.diff
Patch: https://github.com/kamailio/kamailio/commit/cce9bab16ed607041a9849234e6b26fca72319e9.patch
---
diff --git a/src/modules/topos/topos_mod.c b/src/modules/topos/topos_mod.c
index 9d43877af6..0368ae8299 100644
--- a/src/modules/topos/topos_mod.c
+++ b/src/modules/topos/topos_mod.c
@@ -404,7 +404,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;
}
}
More information about the sr-dev
mailing list