Module: kamailio
Branch: master
Commit: ea526a8de9c961a57858ecc4c47ce4ba24e03908
URL:
https://github.com/kamailio/kamailio/commit/ea526a8de9c961a57858ecc4c47ce4b…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-08-05T18:11:00+02:00
app_ruby: print pointers in error log message
---
Modified: src/modules/app_ruby/app_ruby_api.c
---
Diff:
https://github.com/kamailio/kamailio/commit/ea526a8de9c961a57858ecc4c47ce4b…
Patch:
https://github.com/kamailio/kamailio/commit/ea526a8de9c961a57858ecc4c47ce4b…
---
diff --git a/src/modules/app_ruby/app_ruby_api.c b/src/modules/app_ruby/app_ruby_api.c
index a346ceeb2f..8a4679d775 100644
--- a/src/modules/app_ruby/app_ruby_api.c
+++ b/src/modules/app_ruby/app_ruby_api.c
@@ -462,7 +462,8 @@ VALUE sr_kemi_ruby_exec_func_ex(ksr_ruby_context_t *R, sr_kemi_t *ket,
int argc,
env_R = app_ruby_sr_env_get();
if(env_R==NULL || env_R->msg==NULL || ket==NULL) {
- LM_ERR("invalid ruby environment attributes or parameters\n");
+ LM_ERR("invalid ruby environment attributes or parameters (%p/%p/%p)\n",
+ env_R, env_R->msg, ket);
return Qfalse;
}