[SR-Dev] git:sip-router: LM_ macros added for compatibility

Jan Janak jan at iptel.org
Fri Nov 21 04:10:18 CET 2008


Module: sip-router
Branch: janakj/db
Commit: f1484d04b58e0c4273ce413e2299952d2bbfc73d
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=f1484d04b58e0c4273ce413e2299952d2bbfc73d

Author: Jan Janak <jan at iptel.org>
Committer: Jan Janak <jan at iptel.org>
Date:   Fri Nov 21 04:08:50 2008 +0100

LM_ macros added for compatibility

---

 dprint.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/dprint.h b/dprint.h
index 9535adc..67b23f9 100644
--- a/dprint.h
+++ b/dprint.h
@@ -252,5 +252,9 @@ int log_facility_fixup(void *handle, str *name, void **val);
 		#define BUG(fmt, args...) LOG(L_CRIT, "BUG: "   LOC_INFO fmt, ## args)
 #endif
 
+#define LM_ERR ERR
+#define LM_CRIT(fmt, args...) LOG(L_CRIT, "BUG: " LOC_INFO fmt, ## args)
+#define LM_DBG DBG
+#define LM_WARN WARN
 
 #endif /* ifndef dprint_h */




More information about the sr-dev mailing list