Update of /usr/cvsroot/asterisk/formats
In directory mongoose.digium.com:/tmp/cvs-serv1624/formats
Modified Files:
format_au.c
Log Message:
make format_au compile on FreeBSD (bug #4456)
change out-of-memory messages to LOG_ERROR
Index: format_au.c
===================================================================
RCS file: /usr/cvsroot/asterisk/formats/format_au.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- format_au.c 3 Jun 2005 21:52:00 -0000 1.1
+++ format_au.c 5 Jun 2005 14:50:21 -0000 1.2
@@ -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 @@
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 @@
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;
}
_______________________________________________
Asterisk-Cvs mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-cvs