name_alias.h: logging: convert LOG to LM_*
authorOvidiu Sas <osas@voipembedded.com>
Fri, 3 Oct 2014 18:51:32 +0000 (14:51 -0400)
committerOvidiu Sas <osas@voipembedded.com>
Fri, 3 Oct 2014 18:51:32 +0000 (14:51 -0400)
name_alias.h

index 42c9272..3493024 100644 (file)
@@ -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;
 }