struct http_client: Use a _pointer_ to the chunk_queue.
[paraslash.git] / afs.c
diff --git a/afs.c b/afs.c
index 2b7b9ee9edc54f4b90a9ff85483eb573145df924..13a9ccb26a066760bd23c758e3384dbf2057bcfc 100644 (file)
--- a/afs.c
+++ b/afs.c
@@ -5,7 +5,7 @@
  */
 
 
-/** \file afs.c functions common to all audio file selectors */
+/** \file afs.c Functions common to all audio file selectors. */
 
 #include "server.cmdline.h"
 #include "server.h"
 #include "string.h"
 
 /**
- * traverse the given directory recursively
+ * Traverse the given directory recursively.
  *
- * @param dirname the directory to traverse
- * @param f: the function to call for each entry.
+ * \param dirname The directory to traverse.
+ * \param f The function to call for each entry.
  *
- * for each regular file whose filename ends in .yyy, where yyy is a supported
+ * For each regular file whose filename ends in .yyy, where yyy is a supported
  * audio format, the supplied function \a f is called.  The directory and
  * filename component of the regular file are passed to \a f.
  *
@@ -40,9 +40,8 @@ int find_audio_files(const char *dirname, int (*f)(const char *, const char *))
         */
        int cwd_fd = open(".", O_RDONLY);
        struct stat s;
-       int ret = -1;
+       int ret;
 
-//     PARA_DEBUG_LOG("dirname: %s\n", dirname);
        if (cwd_fd < 0)
                return -E_GETCWD;
        ret = -E_CHDIR;