]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - client.c
Switch from select(2) to poll(2).
[paraslash.git] / client.c
index 827ff215dbf68446f90da4575dd32ebb3ed93a35..ed0d5e02f7881409b4f5c5ce9735a5a42e486555 100644 (file)
--- a/client.c
+++ b/client.c
@@ -532,7 +532,7 @@ __noreturn static void interactive_session(void)
        sigemptyset(&act.sa_mask);
        act.sa_flags = 0;
        sigaction(SIGINT, &act, NULL);
-       sched.select_function = i9e_select;
+       sched.poll_function = i9e_poll;
 
        ret = i9e_open(&ici, &sched);
        if (ret < 0)