Module: sip-router Branch: janakj/db Commit: f1484d04b58e0c4273ce413e2299952d2bbfc73d URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=f1484d04...
Author: Jan Janak jan@iptel.org Committer: Jan Janak jan@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 */