aboutsummaryrefslogtreecommitdiffstats
path: root/channel.c
diff options
context:
space:
mode:
authortwisted <twisted@f38db490-d61c-443f-a65b-d21fe96a405b>2005-01-17 22:53:36 +0000
committertwisted <twisted@f38db490-d61c-443f-a65b-d21fe96a405b>2005-01-17 22:53:36 +0000
commitf2eedf346bdefac901a02f07c7623cdc4a721236 (patch)
treeca2aeefcd851c0af2911a6df5024e746374513e9 /channel.c
parentc78d9df51eade074509d76f119780a8fcee35fc9 (diff)
Misc Grammer/formatting fixes - Thanks Corydon76! (bug #3361)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4827 f38db490-d61c-443f-a65b-d21fe96a405b
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;
}