aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_vofr.c
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2003-04-27 18:13:11 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2003-04-27 18:13:11 +0000
commit0aca2c116cc8e7639edb3df385aa713c19b9b881 (patch)
tree1afbb7a2845b98a6b6a9ef4f8582529671e6cb10 /channels/chan_vofr.c
parent1eabb1cfb5a737476c178de880bd6e0b27c78ab4 (diff)
More BSD enhancements
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@916 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_vofr.c')
-rwxr-xr-xchannels/chan_vofr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/channels/chan_vofr.c b/channels/chan_vofr.c
index f1bb5e539..4cbc71f2b 100755
--- a/channels/chan_vofr.c
+++ b/channels/chan_vofr.c
@@ -564,7 +564,7 @@ retry:
fd_set fds;
FD_ZERO(&fds);
FD_SET(p->s, &fds);
- select(p->s + 1, &fds, NULL, NULL, NULL);
+ ast_select(p->s + 1, &fds, NULL, NULL, NULL);
goto retry;
}
ast->blocking = 0;
@@ -953,7 +953,7 @@ static void *do_monitor(void *data)
ast_pthread_mutex_unlock(&monlock);
pthread_testcancel();
/* Wait indefinitely for something to happen */
- res = select(n + 1, &rfds, NULL, NULL, NULL);
+ res = ast_select(n + 1, &rfds, NULL, NULL, NULL);
pthread_testcancel();
/* Okay, select has finished. Let's see what happened. */
if (res < 0) {