*/
-/** \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.
*
*/
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;