[sr-dev] git:master:ff90e222: htable: typo in rpc result status text for reload command

Daniel-Constantin Mierla miconda at gmail.com
Tue Aug 21 08:47:44 CEST 2018


Module: kamailio
Branch: master
Commit: ff90e2223825889c2eea108d2fc02190535960fc
URL: https://github.com/kamailio/kamailio/commit/ff90e2223825889c2eea108d2fc02190535960fc

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at 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/ff90e2223825889c2eea108d2fc02190535960fc.diff
Patch: https://github.com/kamailio/kamailio/commit/ff90e2223825889c2eea108d2fc02190535960fc.patch

---

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




More information about the sr-dev mailing list