Module: kamailio Branch: 5.1 Commit: cce9bab16ed607041a9849234e6b26fca72319e9 URL: https://github.com/kamailio/kamailio/commit/cce9bab16ed607041a9849234e6b26fca72319e9
Author: Daniel-Constantin Mierla <mico...@gmail.com> Committer: Daniel-Constantin Mierla <mico...@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; } } _______________________________________________ Kamailio (SER) - Development Mailing List sr-dev@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev