Module: kamailio
Branch: master
Commit: aa50c18b724a25f772a1fefdec3b9d260b7c6dbf
URL:
https://github.com/kamailio/kamailio/commit/aa50c18b724a25f772a1fefdec3b9d2…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2015-12-14T15:11:09+01:00
Merge pull request #436 from snen/htable_stats_fixing
htable: fixing htable.stats for max slot value
---
Modified: modules/htable/htable.c
---
Diff:
https://github.com/kamailio/kamailio/commit/aa50c18b724a25f772a1fefdec3b9d2…
Patch:
https://github.com/kamailio/kamailio/commit/aa50c18b724a25f772a1fefdec3b9d2…
---
diff --git a/modules/htable/htable.c b/modules/htable/htable.c
index 7f55be1..80764f3 100644
--- a/modules/htable/htable.c
+++ b/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 */