[sr-dev] git:5.1:3532ffc7: htable: typo in rpc result status text for reload command

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


Module: kamailio
Branch: 5.1
Commit: 3532ffc752eaa92c696bb8853cb5b0738a18dcea
URL: https://github.com/kamailio/kamailio/commit/3532ffc752eaa92c696bb8853cb5b0738a18dcea

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2018-08-21T17:43:23+02:00

htable: typo in rpc result status text for reload command

(cherry picked from commit ff90e2223825889c2eea108d2fc02190535960fc)

---

Modified: src/modules/htable/htable.c

---

Diff:  https://github.com/kamailio/kamailio/commit/3532ffc752eaa92c696bb8853cb5b0738a18dcea.diff
Patch: https://github.com/kamailio/kamailio/commit/3532ffc752eaa92c696bb8853cb5b0738a18dcea.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