[sr-dev] git:master: dprint.c: logging: convert LOG to LM_*

Ovidiu Sas osas at voipembedded.com
Fri Oct 3 20:59:34 CEST 2014


Module: sip-router
Branch: master
Commit: 17ae94369cff94b323c915d9d0b6a42b44c3dea7
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=17ae94369cff94b323c915d9d0b6a42b44c3dea7

Author: Ovidiu Sas <osas at voipembedded.com>
Committer: Ovidiu Sas <osas at voipembedded.com>
Date:   Fri Oct  3 14:59:28 2014 -0400

dprint.c: logging: convert LOG to LM_*

---

 dprint.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/dprint.c b/dprint.c
index 4906001..caf39c3 100644
--- a/dprint.c
+++ b/dprint.c
@@ -98,8 +98,7 @@ int log_facility_fixup(void *handle, str *gname, str *name, void **val)
 	int	i;
 
 	if ((i = str2facility((char *)*val)) == -1) {
-		LOG(L_ERR, "log_facility_fixup: invalid log facility: %s\n",
-			(char *)*val);
+		LM_ERR("invalid log facility: %s\n", (char *)*val);
 		return -1;
 	}
 	*val = (void *)(long)i;




More information about the sr-dev mailing list