[sr-dev] git:master:44a4732d: core: debug - aliased macro LM_BUG to BUG

Daniel-Constantin Mierla miconda at gmail.com
Wed Nov 9 14:16:15 CET 2016


Module: kamailio
Branch: master
Commit: 44a4732df6e77386e6ffa60041cd1738a208ae0d
URL: https://github.com/kamailio/kamailio/commit/44a4732df6e77386e6ffa60041cd1738a208ae0d

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2016-11-09T14:10:15+01:00

core: debug - aliased macro LM_BUG to BUG

---

Modified: dprint.h

---

Diff:  https://github.com/kamailio/kamailio/commit/44a4732df6e77386e6ffa60041cd1738a208ae0d.diff
Patch: https://github.com/kamailio/kamailio/commit/44a4732df6e77386e6ffa60041cd1738a208ae0d.patch

---

diff --git a/dprint.h b/dprint.h
index dd22021..67a4ac3 100644
--- a/dprint.h
+++ b/dprint.h
@@ -401,11 +401,11 @@ void log_prefix_init(void);
 #		define DBG(fmt, args...)
 #	else
 #		define DBG(fmt, args...)    LOG(L_DBG, fmt , ## args)
-#	endif		
+#	endif
 
 /* obsolete, do not use */
 #	define DEBUG(fmt, args...) DBG(fmt , ## args)
-		
+
 #endif /* __SUNPRO_C */
 
 
@@ -416,6 +416,7 @@ void log_prefix_init(void);
 #define LM_NPRL NPRL
 #define LM_ALERT ALERT
 #define LM_CRIT  CRIT
+#define LM_BUG  BUG
 #define LM_ERR ERR
 #define LM_WARN WARN
 #define LM_NOTICE NOTICE




More information about the sr-dev mailing list