Module: kamailio Branch: master Commit: 305381bb6b40dc4859f0862411a0c1a261b476c2 URL: https://github.com/kamailio/kamailio/commit/305381bb6b40dc4859f0862411a0c1a261b476c2
Author: Dmitri Savolainen <[email protected]> Committer: Dmitri Savolainen <[email protected]> Date: 2015-12-09T15:44:03+03:00 htable: fixing htable.stats for max slot value add missed 'd' parameter to rpc->struct_add format string --- Modified: modules/htable/htable.c --- Diff: https://github.com/kamailio/kamailio/commit/305381bb6b40dc4859f0862411a0c1a261b476c2.diff Patch: https://github.com/kamailio/kamailio/commit/305381bb6b40dc4859f0862411a0c1a261b476c2.patch --- 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 */ _______________________________________________ sr-dev mailing list [email protected] http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
