Browse Source

htable: debug message to show initialization of hash table structures

Daniel-Constantin Mierla 11 years ago
parent
commit
213ad230a8
1 changed files with 2 additions and 0 deletions
  1. 2 0
      modules/htable/ht_api.c

+ 2 - 0
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)
 		{