]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
C precedence got me
authorTilghman Lesher <tilghman@meg.abyt.es>
Mon, 13 Sep 2010 23:48:51 +0000 (23:48 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Mon, 13 Sep 2010 23:48:51 +0000 (23:48 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@286557 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/features.c

index b1ab5a022e0a3115a1ca48413424fd729c58c4b8..fd78a5a292310774fa42a497e7e7ce1be1e2f263 100644 (file)
@@ -3246,9 +3246,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)++;
                                        }
                                }