diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-06-05 14:50:21 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-06-05 14:50:21 +0000 |
commit | 2d47f7a20bf96c8a9fc099cc1b7de348d601831c (patch) | |
tree | 0bff701ed930a38e8beecbc38d1853204b603211 /formats | |
parent | 50c4036a0e6d61b77902a242557986db63c7f7bc (diff) |
make format_au compile on FreeBSD (bug #4456)
change out-of-memory messages to LOG_ERROR
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5845 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'formats')
-rwxr-xr-x | formats/format_au.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/formats/format_au.c b/formats/format_au.c index 8a3fdfff7..4ad1958fc 100755 --- a/formats/format_au.c +++ b/formats/format_au.c @@ -10,8 +10,6 @@ * the GNU General Public License */ -#include <netinet/in.h> -#include <arpa/inet.h> #include <stdlib.h> #include <sys/time.h> #include <stdio.h> @@ -190,7 +188,7 @@ static struct ast_filestream *au_open(int fd) struct ast_filestream *tmp; if (!(tmp = malloc(sizeof(struct ast_filestream)))) { - ast_log(LOG_WARNING, "Out of memory\n"); + ast_log(LOG_ERROR, "Out of memory\n"); return NULL; } @@ -222,7 +220,7 @@ static struct ast_filestream *au_rewrite(int fd, const char *comment) struct ast_filestream *tmp; if ((tmp = malloc(sizeof(struct ast_filestream))) == NULL) { - ast_log(LOG_WARNING, "Out of memory\n"); + ast_log(LOG_ERROR, "Out of memory\n"); return NULL; } |