Merged revisions 182810 via svnmerge from
[asterisk/asterisk.git] / channels / chan_skinny.c
index aba614d..e8330fa 100644 (file)
@@ -6248,7 +6248,7 @@ static int get_input(struct skinnysession *s)
        fds[0].fd = s->fd;
        fds[0].events = POLLIN;
        fds[0].revents = 0;
-       res = poll(fds, 1, (keep_alive * 1100)); /* If nothing has happen, client is dead */
+       res = ast_poll(fds, 1, (keep_alive * 1100)); /* If nothing has happen, client is dead */
                                                 /* we add 10% to the keep_alive to deal */
                                                 /* with network delays, etc */
        if (res < 0) {