Browse code

proxy.c: logging: DBG -> LM_DBG

Ovidiu Sas authored on 13/01/2015 15:41:58
Showing 1 changed files
... ...
@@ -228,19 +228,19 @@ error:
228 228
 		p=(struct proxy_l*) p_malloc(sizeof(struct proxy_l));			\
229 229
 		if (p==0){														\
230 230
 			ser_error=E_OUT_OF_MEM;										\
231
-			LM_ERR("memory allocation failure\n");		\
231
+			LM_ERR("memory allocation failure\n");						\
232 232
 			goto error;													\
233 233
 		}																\
234 234
 		memset(p,0,sizeof(struct proxy_l));								\
235 235
 		p->name=*name;													\
236 236
 		p->port=port;													\
237 237
 																		\
238
-		DBG("DEBUG: mk_proxy: doing DNS lookup...\n");					\
238
+		LM_DBG("doing DNS lookup...\n");								\
239 239
 		proto=protocol;													\
240 240
 		he=sip_resolvehost(name, &(p->port), &proto);					\
241 241
 		if (he==0){														\
242 242
 			ser_error=E_BAD_ADDRESS;									\
243
-			LM_CRIT("could not resolve hostname:"	\
243
+			LM_CRIT("could not resolve hostname:"						\
244 244
 				" \"%.*s\"\n", name->len, name->s);						\
245 245
 			p_free(p);													\
246 246
 			goto error;													\