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 6f70d97..caa32d8 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();