From: Tilghman Lesher Date: Mon, 13 Sep 2010 23:48:51 +0000 (+0000) Subject: C precedence got me X-Git-Tag: 1.6.2.14-rc1~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=41c58f997425b9582db5508b19aa9bf2a8de64f8;p=thirdparty%2Fasterisk.git C precedence got me git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@286557 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/main/features.c b/main/features.c index b1ab5a022e..fd78a5a292 100644 --- a/main/features.c +++ b/main/features.c @@ -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)++; } }