Module: sip-router
Branch: master
Commit: 213ad230a87638bbd0f1591c8b7cefdd4e6b1fd3
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=213ad23…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Fri Jul 25 14:43:45 2014 +0200
htable: debug message to show initialization of hash table structures
---
modules/htable/ht_api.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/modules/htable/ht_api.c b/modules/htable/ht_api.c
index 1acdf50..f5232cb 100644
--- a/modules/htable/ht_api.c
+++ b/modules/htable/ht_api.c
@@ -276,6 +276,8 @@ int ht_init_tables(void)
while(ht)
{
+ LM_DBG("initializing htable [%.*s] with nr. of slots: %d\n",
+ ht->name.len, ht->name.s, ht->htsize);
ht->entries = (ht_entry_t*)shm_malloc(ht->htsize*sizeof(ht_entry_t));
if(ht->entries==NULL)
{