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

Ovidiu Sas osas at voipembedded.com
Fri Oct 3 21:00:50 CEST 2014


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

Author: Ovidiu Sas <osas at voipembedded.com>
Committer: Ovidiu Sas <osas at voipembedded.com>
Date:   Fri Oct  3 15:00:38 2014 -0400

str.c: logging: convert LOG to LM_*

---

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

diff --git a/str.c b/str.c
index 913dc7b..a7fcf93 100644
--- a/str.c
+++ b/str.c
@@ -33,7 +33,7 @@ int str_append(str *orig, str *suffix, str *dest)
 	dest->s = pkg_malloc(sizeof(char)*dest->len);
 	if(dest->s==NULL)
 	{
-		LOG(L_ERR, "memory allocation failure\n");
+		LM_ERR("memory allocation failure\n");
 		return -1;
 	}
 	if(orig->len>0)




More information about the sr-dev mailing list