Explorar o código

Merge pull request #436 from snen/htable_stats_fixing

htable: fixing htable.stats for max slot value
Daniel-Constantin Mierla %!s(int64=9) %!d(string=hai) anos
pai
achega
aa50c18b72
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 */