write_ok(): Always reset the select timeout
[paraslash.git] / afs.c
diff --git a/afs.c b/afs.c
index 41ef1e21b126968dd7d7fe9bdf8a11f964a28782..49aabafb30fd7dd4e743d3fd9bfd3cab916d8a7d 100644 (file)
--- a/afs.c
+++ b/afs.c
@@ -41,7 +41,6 @@ static struct timeval eof_barrier;
 extern struct misc_meta_data *mmd;
 extern struct audio_file_selector selectors[];
 extern struct sender senders[];
-extern struct gengetopt_args_info conf;
 
 static FILE *audio_file = NULL;
 
@@ -198,7 +197,7 @@ int guess_audio_format(const char *name)
                                continue;
                        if (strcasecmp(name + len - plen, p))
                                continue;
-                       PARA_DEBUG_LOG("might be %s\n", audio_format_name(i));
+//                     PARA_DEBUG_LOG("might be %s\n", audio_format_name(i));
                        return i;
                }
        }
@@ -422,9 +421,9 @@ struct timeval *afs_chunk_time(void)
  * and acted upon by calling appropriate functions from the lower layers.
  * Possible actions include
  *
- *     - request a new file list from the current dabase tool (audio file change)
+ *     - request a new file list from the current audio file selector
  *     - shutdown of all senders (stop/pause command)
- *     - repositioning of the stream (ff/jmp command)
+ *     - reposition the stream (ff/jmp command)
  *
  * \return A pointer to a struct timeval containing the timeout for the next
  * chunk of data to be sent, or NULL if we're not sending right now.