[sr-dev] git:5.3:cc31c71e: core: better debug logging in mk_action function

Henning Westerholt hw at skalatan.de
Wed May 13 15:34:35 CEST 2020


Module: kamailio
Branch: 5.3
Commit: cc31c71e56f8feeeab45532f8fa954991817ed6d
URL: https://github.com/kamailio/kamailio/commit/cc31c71e56f8feeeab45532f8fa954991817ed6d

Author: Henning Westerholt <hw at skalatan.de>
Committer: Henning Westerholt <hw at 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/cc31c71e56f8feeeab45532f8fa954991817ed6d.diff
Patch: https://github.com/kamailio/kamailio/commit/cc31c71e56f8feeeab45532f8fa954991817ed6d.patch

---

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);
 




More information about the sr-dev mailing list