瀏覽代碼

proxy.c: logging: DBG -> LM_DBG

Ovidiu Sas 10 年之前
父節點
當前提交
fb38869696
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      proxy.c

+ 3 - 3
proxy.c

@@ -228,19 +228,19 @@ error:
 		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;													\