diff options
author | twisted <twisted@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-01-17 22:53:36 +0000 |
---|---|---|
committer | twisted <twisted@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-01-17 22:53:36 +0000 |
commit | f2eedf346bdefac901a02f07c7623cdc4a721236 (patch) | |
tree | ca2aeefcd851c0af2911a6df5024e746374513e9 /channel.c | |
parent | c78d9df51eade074509d76f119780a8fcee35fc9 (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-x | channel.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; } |