summaryrefslogtreecommitdiff
path: root/channel.c
diff options
context:
space:
mode:
authorJosh Roberson <josh@asteriasgi.com>2005-01-17 22:53:36 +0000
committerJosh Roberson <josh@asteriasgi.com>2005-01-17 22:53:36 +0000
commit7f887cca9019827eb62ffc3cf1a35e53b98b8087 (patch)
treeca2aeefcd851c0af2911a6df5024e746374513e9 /channel.c
parent840f035827cd7d75d1601c29d731d594afe330d4 (diff)
Misc Grammer/formatting fixes - Thanks Corydon76! (bug #3361)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4827 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channel.c')
-rwxr-xr-xchannel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/channel.c b/channel.c
index 68734d031..f601d4bea 100755
--- a/channel.c
+++ b/channel.c
@@ -916,7 +916,7 @@ int ast_waitfor_n_fd(int *fds, int n, int *ms, int *exception)
pfds = alloca(sizeof(struct pollfd) * n);
if (!pfds) {
- ast_log(LOG_WARNING, "alloca failed! bad things will happen.\n");
+ ast_log(LOG_ERROR, "Out of memory\n");
return -1;
}
if (*ms > 0)
@@ -981,7 +981,7 @@ struct ast_channel *ast_waitfor_nandfds(struct ast_channel **c, int n, int *fds,
pfds = alloca(sizeof(struct pollfd) * (n * AST_MAX_FDS + nfds));
if (!pfds) {
- ast_log(LOG_WARNING, "alloca failed! bad things will happen.\n");
+ ast_log(LOG_ERROR, "Out of memory\n");
*outfd = -1;
return NULL;
}