aboutsummaryrefslogtreecommitdiffstats
path: root/asterisk.c
diff options
context:
space:
mode:
Diffstat (limited to 'asterisk.c')
-rwxr-xr-xasterisk.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/asterisk.c b/asterisk.c
index 9e551a55c..5ee2a4f67 100755
--- a/asterisk.c
+++ b/asterisk.c
@@ -130,7 +130,7 @@ static void *netconsole(void *vconsole)
max = con->fd;
if (con->p[0] > max)
max = con->p[0];
- res = select(max + 1, &rfds, NULL, NULL, NULL);
+ res = ast_select(max + 1, &rfds, NULL, NULL, NULL);
if (res < 0) {
ast_log(LOG_WARNING, "select returned < 0: %s\n", strerror(errno));
continue;
@@ -672,7 +672,7 @@ static int ast_el_read_char(EditLine *el, char *cp)
max = ast_consock;
if (STDIN_FILENO > max)
max = STDIN_FILENO;
- res = select(max+1, &rfds, NULL, NULL, NULL);
+ res = ast_select(max+1, &rfds, NULL, NULL, NULL);
if (res < 0) {
if (errno == EINTR)
continue;
@@ -1369,7 +1369,7 @@ int main(int argc, char *argv[])
} else {
/* Do nothing */
- select(0,NULL,NULL,NULL,NULL);
+ ast_select(0,NULL,NULL,NULL,NULL);
}
return 0;
}