Module: kamailio
Branch: master
Commit: e80fcf42ebe52fc095016277a4b44d4726d4e9c5
URL:
https://github.com/kamailio/kamailio/commit/e80fcf42ebe52fc095016277a4b44d4…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: GitHub <noreply(a)github.com>
Date: 2020-11-06T07:50:18+01:00
Merge pull request #2542 from guillemj/pu/rpc-marshalling
sl: Fix 3xx stats RPC marshalling
---
Modified: src/modules/sl/sl_stats.c
---
Diff:
https://github.com/kamailio/kamailio/commit/e80fcf42ebe52fc095016277a4b44d4…
Patch:
https://github.com/kamailio/kamailio/commit/e80fcf42ebe52fc095016277a4b44d4…
---
diff --git a/src/modules/sl/sl_stats.c b/src/modules/sl/sl_stats.c
index dd683eda5b..079786aade 100644
--- a/src/modules/sl/sl_stats.c
+++ b/src/modules/sl/sl_stats.c
@@ -73,7 +73,7 @@ static void rpc_stats(rpc_t* rpc, void* c)
"202", total.err[RT_202],
"2xx", total.err[RT_2xx]);
- rpc->struct_add(st, "ddd",
+ rpc->struct_add(st, "dddd",
"300", total.err[RT_300],
"301", total.err[RT_301],
"302", total.err[RT_302],