aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2010-09-13 23:48:51 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2010-09-13 23:48:51 +0000
commit62290c2315c5c63d4778877789d9dca734228666 (patch)
tree52d0c16990a7109aca08ba633449a6382147366f
parent29645ac80d581c37dfbaa9a32879a5d5f4d17e1e (diff)
C precedence got me
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@286557 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--main/features.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/main/features.c b/main/features.c
index b1ab5a022..fd78a5a29 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)++;
}
}