Ver Fonte

Merge pull request #436 from snen/htable_stats_fixing

htable: fixing htable.stats for max slot value
Daniel-Constantin Mierla há 9 anos atrás
pai
commit
aa50c18b72
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      modules/htable/htable.c

+ 1 - 1
modules/htable/htable.c

@@ -1125,7 +1125,7 @@ static void  htable_rpc_stats(rpc_t* rpc, void* c)
 			ht_slot_unlock(ht, i);
 		}
 
-		if(rpc->struct_add(th, "Sddd",
+		if(rpc->struct_add(th, "Sdddd",
 						"name", &ht->name,	/* str */
 						"slots", (int)ht->htsize,	/* uint */
 						"all", (int)all,	/* uint */