diff options
author | Tilghman Lesher <tilghman@meg.abyt.es> | 2010-09-13 23:51:32 +0000 |
---|---|---|
committer | Tilghman Lesher <tilghman@meg.abyt.es> | 2010-09-13 23:51:32 +0000 |
commit | a6adb398e9a6068afedb2b6881977e981baba0a2 (patch) | |
tree | 6af4c2b8ed9b469effcf473206e25eadfa7acdb7 /main | |
parent | 77433168eac4a0fa1641ae6a0e245052c5e76a76 (diff) |
Merged revisions 286558 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8
................
r286558 | tilghman | 2010-09-13 18:50:34 -0500 (Mon, 13 Sep 2010) | 9 lines
Merged revisions 286557 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2
........
r286557 | tilghman | 2010-09-13 18:48:51 -0500 (Mon, 13 Sep 2010) | 2 lines
C precedence got me
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@286559 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main')
-rw-r--r-- | main/features.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/main/features.c b/main/features.c index 3782e3210..68d843bc2 100644 --- a/main/features.c +++ b/main/features.c @@ -3785,9 +3785,9 @@ std: for (x = 0; x < AST_MAX_FDS; x++) { /* mark fds for next round */ continue; } *new_pfds = tmp; - new_pfds[*new_nfds]->fd = chan->fds[x]; - new_pfds[*new_nfds]->events = POLLIN | POLLERR; - new_pfds[*new_nfds]->revents = 0; + (*new_pfds)[*new_nfds].fd = chan->fds[x]; + (*new_pfds)[*new_nfds].events = POLLIN | POLLERR; + (*new_pfds)[*new_nfds].revents = 0; (*new_nfds)++; } } |