瀏覽代碼

name_alias.h: logging: convert LOG to LM_*

Ovidiu Sas 11 年之前
父節點
當前提交
51e77d3ef5
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      name_alias.h

+ 1 - 1
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;
 }