[sr-dev] git:master: name_alias.h: logging: convert LOG to LM_*

Ovidiu Sas osas at voipembedded.com
Fri Oct 3 20:52:05 CEST 2014


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

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

name_alias.h: logging: convert LOG to LM_*

---

 name_alias.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/name_alias.h b/name_alias.h
index 42c9272..3493024 100644
--- a/name_alias.h
+++ b/name_alias.h
@@ -107,7 +107,7 @@ static inline int add_alias(char* name, int len, unsigned short port,
 	aliases=a;
 	return 1;
 error:
-	LOG(L_ERR, "ERROR: add_alias: memory allocation error\n");
+	LM_ERR("memory allocation error\n");
 	if (a) pkg_free(a);
 	return -1;
 }




More information about the sr-dev mailing list