Module: kamailio
Branch: master
Commit: c75d50bb92d579136d92a01b5d35e74258cca27a
URL:
https://github.com/kamailio/kamailio/commit/c75d50bb92d579136d92a01b5d35e74…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2017-01-10T19:45:03+01:00
kex: adjustment to rpc fault message
---
Modified: src/modules/kex/core_stats.c
---
Diff:
https://github.com/kamailio/kamailio/commit/c75d50bb92d579136d92a01b5d35e74…
Patch:
https://github.com/kamailio/kamailio/commit/c75d50bb92d579136d92a01b5d35e74…
---
diff --git a/src/modules/kex/core_stats.c b/src/modules/kex/core_stats.c
index 89fcc5a..3dd58a0 100644
--- a/src/modules/kex/core_stats.c
+++ b/src/modules/kex/core_stats.c
@@ -533,7 +533,7 @@ static void stats_reset_or_clear_statistics(rpc_t* rpc, void* ctx, int
clear)
return;
}
if (rpc->scan(ctx, "s", &stat) < 1) {
- rpc->fault(ctx, 400, "Please provide which stats to retrieve");
+ rpc->fault(ctx, 400, "Please provide stats name");
return;
}
stats_reset_or_clear_all(rpc, ctx, stat, clear);