Procházet zdrojové kódy

str.c: logging: convert LOG to LM_*

Ovidiu Sas před 11 roky
rodič
revize
4b3179f1bd
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      str.c

+ 1 - 1
str.c

@@ -33,7 +33,7 @@ int str_append(str *orig, str *suffix, str *dest)
 	dest->s = pkg_malloc(sizeof(char)*dest->len);
 	dest->s = pkg_malloc(sizeof(char)*dest->len);
 	if(dest->s==NULL)
 	if(dest->s==NULL)
 	{
 	{
-		LOG(L_ERR, "memory allocation failure\n");
+		LM_ERR("memory allocation failure\n");
 		return -1;
 		return -1;
 	}
 	}
 	if(orig->len>0)
 	if(orig->len>0)