]> git.tue.mpg.de Git - paraslash.git/commitdiff
server: call afs_send_chunk() even if no timeout occured.
authorAndre <maan@p133.(none)>
Mon, 8 May 2006 22:23:17 +0000 (00:23 +0200)
committerAndre <maan@p133.(none)>
Mon, 8 May 2006 22:23:17 +0000 (00:23 +0200)
afs_send_chunk() checks the current time anyway.

server.c

index 6f70d977d0814e0c7fa5a54581baf405397ea259..caa32d8ef3f77e94d68aa57cdc7283c41725cb07 100644 (file)
--- a/server.c
+++ b/server.c
@@ -477,10 +477,8 @@ repeat:
                        &afl[mmd->audio_format] : NULL,
                        &rfds, &wfds);
        }
-       if (!ret) {
-               afs_send_chunk();
-               status_refresh();
-       }
+       afs_send_chunk();
+       status_refresh();
        if (FD_ISSET(signal_pipe, &rfds)) {
                int sig;
                sig = para_next_signal();