[sr-dev] git:master:10b96696: core: better debug logging in mk_action function

Henning Westerholt hw at skalatan.de
Sun Feb 23 21:46:58 CET 2020


Module: kamailio
Branch: master
Commit: 10b96696b82d2e70c15f3e4bc52097f0a5062499
URL: https://github.com/kamailio/kamailio/commit/10b96696b82d2e70c15f3e4bc52097f0a5062499

Author: Henning Westerholt <hw at skalatan.de>
Committer: Henning Westerholt <hw at skalatan.de>
Date: 2020-02-23T21:45:48+01:00

core: better debug logging in mk_action function

---

Modified: src/core/route_struct.c

---

Diff:  https://github.com/kamailio/kamailio/commit/10b96696b82d2e70c15f3e4bc52097f0a5062499.diff
Patch: https://github.com/kamailio/kamailio/commit/10b96696b82d2e70c15f3e4bc52097f0a5062499.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