Module: sip-router
Branch: ser_modules
Commit: 9554f34758dd73281ef7e321c61378b57698a9ca
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=9554f34…
Author: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Committer: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Date: Wed Apr 15 20:10:46 2009 +0200
xlog: LOG_() api update
---
modules_s/xlog/xlog.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules_s/xlog/xlog.c b/modules_s/xlog/xlog.c
index a8a2f9d..7d46ff0 100644
--- a/modules_s/xlog/xlog.c
+++ b/modules_s/xlog/xlog.c
@@ -141,7 +141,7 @@ static int xlog(struct sip_msg* msg, char* lev, char* frm)
return -1;
/* log_buf[log_len] = '\0'; */
- LOG_(level, "<script>: ", "%.*s", log_len, log_buf);
+ LOG_(DEFAULT_FACILITY, level, "<script>: ", "%.*s", log_len,
log_buf);
return 1;
}
@@ -158,7 +158,7 @@ static int xdbg(struct sip_msg* msg, char* frm, char* str2)
return -1;
/* log_buf[log_len] = '\0'; */
- LOG_(L_DBG, "<script>: ", "%.*s", log_len, log_buf);
+ LOG_(DEFAULT_FACILITY, L_DBG, "<script>: ", "%.*s", log_len,
log_buf);
return 1;
}