Module: kamailio
Branch: master
Commit: dec17cb6af275789c4ae804d5e1004a9f77010a3
URL:
https://github.com/kamailio/kamailio/commit/dec17cb6af275789c4ae804d5e1004a…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2018-09-04T11:25:21+02:00
htable: proper return on match for sw operator whith rm functions
---
Modified: src/modules/htable/htable.c
---
Diff:
https://github.com/kamailio/kamailio/commit/dec17cb6af275789c4ae804d5e1004a…
Patch:
https://github.com/kamailio/kamailio/commit/dec17cb6af275789c4ae804d5e1004a…
---
diff --git a/src/modules/htable/htable.c b/src/modules/htable/htable.c
index 4070bf7b74..214b6e3608 100644
--- a/src/modules/htable/htable.c
+++ b/src/modules/htable/htable.c
@@ -489,6 +489,7 @@ static int ht_rm_items(sip_msg_t* msg, str* hname, str* op, str *val,
if(ht_rm_cell_op(val, ht, mkey, HT_RM_OP_SW)<0) {
return -1;
}
+ return 1;
}
LM_WARN("unsupported match operator: %.*s\n", op->len, op->s);
break;