浏览代码

topos: fix condition to match KDMQ method

Daniel-Constantin Mierla 7 年之前
父节点
当前提交
e9be20215b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/modules/topos/topos_mod.c

+ 1 - 1
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;
 			}
 		}