Module: kamailio
Branch: master
Commit: fb3886969658f4039a4def7f73adbfdf47b8e862
URL:
https://github.com/kamailio/kamailio/commit/fb3886969658f4039a4def7f73adbfd…
Author: Ovidiu Sas <osas(a)voipembedded.com>
Committer: Ovidiu Sas <osas(a)voipembedded.com>
Date: 2015-01-13T10:41:58-05:00
proxy.c: logging: DBG -> LM_DBG
---
Modified: proxy.c
---
Diff:
https://github.com/kamailio/kamailio/commit/fb3886969658f4039a4def7f73adbfd…
Patch:
https://github.com/kamailio/kamailio/commit/fb3886969658f4039a4def7f73adbfd…
---
diff --git a/proxy.c b/proxy.c
index 2a6f8a6..589d1ad 100644
--- a/proxy.c
+++ b/proxy.c
@@ -228,19 +228,19 @@ struct proxy_l* add_proxy(str* name, unsigned short port, int
proto)
p=(struct proxy_l*) p_malloc(sizeof(struct proxy_l)); \
if (p==0){ \
ser_error=E_OUT_OF_MEM; \
- LM_ERR("memory allocation failure\n"); \
+ LM_ERR("memory allocation failure\n"); \
goto error; \
} \
memset(p,0,sizeof(struct proxy_l)); \
p->name=*name; \
p->port=port; \
\
- DBG("DEBUG: mk_proxy: doing DNS lookup...\n"); \
+ LM_DBG("doing DNS lookup...\n"); \
proto=protocol; \
he=sip_resolvehost(name, &(p->port), &proto); \
if (he==0){ \
ser_error=E_BAD_ADDRESS; \
- LM_CRIT("could not resolve hostname:" \
+ LM_CRIT("could not resolve hostname:" \
" \"%.*s\"\n", name->len, name->s); \
p_free(p); \
goto error; \