summaryrefslogtreecommitdiff
path: root/apps/app_mp3.c
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2003-04-27 18:13:11 +0000
committerMark Spencer <markster@digium.com>2003-04-27 18:13:11 +0000
commit6eeee2496b58beb4672cbaf572cb937826f7e50f (patch)
tree1afbb7a2845b98a6b6a9ef4f8582529671e6cb10 /apps/app_mp3.c
parentb9d6efa20ec9b24c2f670f023434809532b07a50 (diff)
More BSD enhancements
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@916 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_mp3.c')
-rwxr-xr-xapps/app_mp3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_mp3.c b/apps/app_mp3.c
index 791840106..52f1225c6 100755
--- a/apps/app_mp3.c
+++ b/apps/app_mp3.c
@@ -75,7 +75,7 @@ static int timed_read(int fd, void *data, int datalen)
struct timeval tv = { 2, 0 }; /* Wait no more than 2 seconds */
FD_ZERO(&fds);
FD_SET(fd, &fds);
- res = select(fd + 1, &fds, NULL, NULL, &tv);
+ res = ast_select(fd + 1, &fds, NULL, NULL, &tv);
if (res < 1) {
ast_log(LOG_NOTICE, "Selected timed out/errored out with %d\n", res);
return -1;