diff options
Diffstat (limited to 'channels/chan_modem.c')
-rwxr-xr-x | channels/chan_modem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_modem.c b/channels/chan_modem.c index caa79dbb6..90ac7c3ae 100755 --- a/channels/chan_modem.c +++ b/channels/chan_modem.c @@ -609,7 +609,7 @@ static void *do_monitor(void *data) #endif /* Wait indefinitely for something to happen */ pthread_testcancel(); - res = select(n + 1, &rfds, NULL, &efds, NULL); + res = ast_select(n + 1, &rfds, NULL, &efds, NULL); pthread_testcancel(); /* Okay, select has finished. Let's see what happened. */ if (res < 1) { |