Module: kamailio
Branch: master
Commit: ff90e2223825889c2eea108d2fc02190535960fc
URL:
https://github.com/kamailio/kamailio/commit/ff90e2223825889c2eea108d2fc0219…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2018-08-21T08:47:01+02:00
htable: typo in rpc result status text for reload command
---
Modified: src/modules/htable/htable.c
---
Diff:
https://github.com/kamailio/kamailio/commit/ff90e2223825889c2eea108d2fc0219…
Patch:
https://github.com/kamailio/kamailio/commit/ff90e2223825889c2eea108d2fc0219…
---
diff --git a/src/modules/htable/htable.c b/src/modules/htable/htable.c
index 3d7cc3e93f..e667e0bd39 100644
--- a/src/modules/htable/htable.c
+++ b/src/modules/htable/htable.c
@@ -1164,7 +1164,7 @@ static void htable_rpc_reload(rpc_t* rpc, void* c)
if(nht.entries == NULL)
{
ht_db_close_con();
- rpc->fault(c, 500, "Mtree reload failed");
+ rpc->fault(c, 500, "No resources for htable reload");
return;
}
memset(nht.entries, 0, nht.htsize*sizeof(ht_entry_t));
@@ -1184,7 +1184,7 @@ static void htable_rpc_reload(rpc_t* rpc, void* c)
}
free(nht.entries);
ht_db_close_con();
- rpc->fault(c, 500, "Mtree reload failed");
+ rpc->fault(c, 500, "Htable reload failed");
return;
}