]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - random_dbtool.c
dbtool -> audio file selector renaming
[paraslash.git] / random_dbtool.c
index d970bd7f9226ad25d3bcc048bc7192e179639738..e88206c2508dee9e094b2d2be409487c33a75390 100644 (file)
@@ -16,7 +16,7 @@
  *     Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
  */
 
-/** \file random_dbtool. Simple database tool implementation. Feel free to modify.  */
+/** \file random_dbtool.c Simple database tool implementation. Feel free to modify.  */
 
 #include <sys/time.h> /* gettimeofday */
 #include "server.cmdline.h"
@@ -83,7 +83,7 @@ static char **random_get_audio_file_list(unsigned int num)
        audio_file_list = NULL;
        num_audio_files = 0;
        /* first run, just count all audio files. dopey */
-       ret = find_audio_files(conf.random_dbtool_dir_arg, count_audio_files);
+       ret = find_audio_files(conf.random_dir_arg, count_audio_files);
        if (ret < 0)
                goto out;
        ret = -E_NOTHING_FOUND;
@@ -93,7 +93,7 @@ static char **random_get_audio_file_list(unsigned int num)
        audio_file_list = para_malloc(num_audio_files * sizeof(char *));
        audio_file_count = 0;
        /* second run (hot dentry cache, hopefully), fill audio_file_list */
-       ret = find_audio_files(conf.random_dbtool_dir_arg, remember_file);
+       ret = find_audio_files(conf.random_dir_arg, remember_file);
        if (ret < 0)
                goto out;
        /* careful, files might got deleted underneath */