mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-08 10:58:15 +00:00
Misc Grammer/formatting fixes - Thanks Corydon76! (bug #3361)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4827 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user