Module: kamailio
Branch: master
Commit: bbabc77a0ac34fbdc4618161360f27efc12ba1dc
URL:
https://github.com/kamailio/kamailio/commit/bbabc77a0ac34fbdc4618161360f27e…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2018-12-14T11:20:08+01:00
app_ruby: print new script version in rpc reload info message
---
Modified: src/modules/app_ruby/app_ruby_api.c
---
Diff:
https://github.com/kamailio/kamailio/commit/bbabc77a0ac34fbdc4618161360f27e…
Patch:
https://github.com/kamailio/kamailio/commit/bbabc77a0ac34fbdc4618161360f27e…
---
diff --git a/src/modules/app_ruby/app_ruby_api.c b/src/modules/app_ruby/app_ruby_api.c
index d2550a469a..a503cddb5b 100644
--- a/src/modules/app_ruby/app_ruby_api.c
+++ b/src/modules/app_ruby/app_ruby_api.c
@@ -1268,10 +1268,10 @@ static void app_ruby_rpc_reload(rpc_t* rpc, void* ctx)
}
v = *_sr_ruby_reload_version;
- LM_INFO("marking for reload ruby script file: %.*s (%d => %d)\n",
- _sr_ruby_load_file.len, _sr_ruby_load_file.s,
- _sr_ruby_local_version, v);
*_sr_ruby_reload_version += 1;
+ LM_INFO("marking for reload ruby script file: %.*s (%d / %d => %d)\n",
+ _sr_ruby_load_file.len, _sr_ruby_load_file.s,
+ _sr_ruby_local_version, v, *_sr_ruby_reload_version);
if (rpc->add(ctx, "{", &vh) < 0) {
rpc->fault(ctx, 500, "Server error");