[sr-dev] git:master:393fc062: action.c: logging: DBG -> LM_DBG

Ovidiu Sas osas at voipembedded.com
Tue Jan 13 16:00:11 CET 2015


Module: kamailio
Branch: master
Commit: 393fc062c0e20622016aae27f34f2bf7c47e281f
URL: https://github.com/kamailio/kamailio/commit/393fc062c0e20622016aae27f34f2bf7c47e281f

Author: Ovidiu Sas <osas at voipembedded.com>
Committer: Ovidiu Sas <osas at voipembedded.com>
Date: 2015-01-13T09:59:44-05:00

action.c: logging: DBG -> LM_DBG

---

Modified: action.c

---

Diff:  https://github.com/kamailio/kamailio/commit/393fc062c0e20622016aae27f34f2bf7c47e281f.diff
Patch: https://github.com/kamailio/kamailio/commit/393fc062c0e20622016aae27f34f2bf7c47e281f.patch

---

diff --git a/action.c b/action.c
index cf3aab8..726c000 100644
--- a/action.c
+++ b/action.c
@@ -532,7 +532,7 @@ int do_action(struct run_act_ctx* h, struct action* a, struct sip_msg* msg)
 				ret=E_BUG;
 				goto error;
 			}
-			/* DBG("XXX: message length %d, max %d\n",
+			/* LM_DBG("message length %d, max %d\n",
 				msg->len, a->val[0].u.number ); */
 			ret = msg->len >= a->val[0].u.number ? 1 : -1;
 			break;
@@ -1537,7 +1537,7 @@ int run_actions(struct run_act_ctx* h, struct action* a, struct sip_msg* msg)
 	}
 
 	if (unlikely(a==0)){
-		DBG("DEBUG: run_actions: null action list (rec_level=%d)\n", h->rec_lev);
+		LM_DBG("null action list (rec_level=%d)\n", h->rec_lev);
 		ret=1;
 	}
 




More information about the sr-dev mailing list