Module: kamailio
Branch: 5.3
Commit: cc31c71e56f8feeeab45532f8fa954991817ed6d
URL:
https://github.com/kamailio/kamailio/commit/cc31c71e56f8feeeab45532f8fa9549…
Author: Henning Westerholt <hw(a)skalatan.de>
Committer: Henning Westerholt <hw(a)skalatan.de>
Date: 2020-05-13T12:07:36Z
core: better debug logging in mk_action function
(cherry picked from commit 10b96696b82d2e70c15f3e4bc52097f0a5062499)
---
Modified: src/core/route_struct.c
---
Diff:
https://github.com/kamailio/kamailio/commit/cc31c71e56f8feeeab45532f8fa9549…
Patch:
https://github.com/kamailio/kamailio/commit/cc31c71e56f8feeeab45532f8fa9549…
---
diff --git a/src/core/route_struct.c b/src/core/route_struct.c
index 063e1773aa..51f48a0a6d 100644
--- a/src/core/route_struct.c
+++ b/src/core/route_struct.c
@@ -125,8 +125,7 @@ struct action* mk_action(enum action_type type, int count, ...)
for (i=0; i<a->count; i++) {
a->val[i].type = va_arg(args, int);
a->val[i].u.data = va_arg(args, void *);
-
- DBG("ACTION_#%d #%d/%d: %d(%x)/ %p\n", a->type, i, a->count,
a->val[i].type, a->val[i].type, a->val[i].u.data);
+ DBG("ACTION type%d, i/count %d/%d: type %d(%x)/ data %p\n", a->type, i,
a->count, a->val[i].type, a->val[i].type, a->val[i].u.data);
}
va_end(args);