Module: sip-router Branch: master Commit: 1a0150482658ab9f90ec513184298b1e98bcc57c URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=1a015048...
Author: Elena-Ramona Modroiu ramona@asipto.com Committer: Elena-Ramona Modroiu ramona@asipto.com Date: Tue Mar 25 12:03:11 2014 +0100
htable: debug message when deleting an item via mi command
---
modules/htable/htable.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/modules/htable/htable.c b/modules/htable/htable.c index 6469251..7270416 100644 --- a/modules/htable/htable.c +++ b/modules/htable/htable.c @@ -572,6 +572,9 @@ static struct mi_root* ht_mi_delete(struct mi_root* cmd_tree, void* param) { LM_ERR("dmq relication failed\n"); }
+ LM_DBG("deleting key [%.*s] from [%.*s]\n", + key->len, key->s, htname->len, htname->s); + ht_del_cell(ht, key);
return init_mi_tree(200, MI_OK_S, MI_OK_LEN);