aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
Diffstat (limited to 'main')
-rw-r--r--main/features.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/main/features.c b/main/features.c
index 025e9cd67..2b38b7589 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)++;
}
}