[Asterisk-cvs] asterisk/formats format_au.c,1.1,1.2
kpfleming at lists.digium.com
kpfleming at lists.digium.com
Sun Jun 5 10:47:46 CDT 2005
- Previous message: [Asterisk-cvs] asterisk/configs sip.conf.sample,1.62,1.63
- Next message: [Asterisk-cvs] asterisk app.c, 1.61, 1.62 channel.c, 1.198,
1.199 file.c, 1.64, 1.65 pbx.c, 1.249, 1.250
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
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;
}
- Previous message: [Asterisk-cvs] asterisk/configs sip.conf.sample,1.62,1.63
- Next message: [Asterisk-cvs] asterisk app.c, 1.61, 1.62 channel.c, 1.198,
1.199 file.c, 1.64, 1.65 pbx.c, 1.249, 1.250
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the svn-commits
mailing list