]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - audioc.c
sched: Use integer value for select timeout.
[paraslash.git] / audioc.c
index af67063367044b675877173a1ed351bdd28f2dd1..76b3d6dba0b3c67742e78903e6352949da4285c4 100644 (file)
--- a/audioc.c
+++ b/audioc.c
@@ -252,7 +252,7 @@ __noreturn static void interactive_session(void)
        sigaction(SIGINT, &act, NULL);
        sched.select_function = i9e_select;
 
-       sched.default_timeout.tv_sec = 1;
+       sched.default_timeout = 1000;
        ret = i9e_open(&ici, &sched);
        if (ret < 0)
                goto out;