diff options
author | Josh Roberson <josh@asteriasgi.com> | 2005-01-17 22:53:36 +0000 |
---|---|---|
committer | Josh Roberson <josh@asteriasgi.com> | 2005-01-17 22:53:36 +0000 |
commit | 7f887cca9019827eb62ffc3cf1a35e53b98b8087 (patch) | |
tree | ca2aeefcd851c0af2911a6df5024e746374513e9 /channel.c | |
parent | 840f035827cd7d75d1601c29d731d594afe330d4 (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-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; } |