improved info text for the random selector.
[paraslash.git] / playlist_selector.c
index e5329ba..6f171d7 100644 (file)
@@ -192,7 +192,7 @@ static char **pls_get_audio_file_list(unsigned int num)
        char **file_list;
        unsigned i;
 
-       num = MIN(num, playlist_len);
+       num = PARA_MIN(num, playlist_len);
        if (!num)
                return NULL;
        file_list = para_malloc((num + 1) * sizeof(char *));
@@ -318,7 +318,7 @@ int playlist_selector_init(struct audio_file_selector *db)
                goto err_out;
        ppd->client_data = shm;
        ppd->client_data->size = 0;
-       sprintf(mmd->selector_info, "playlist selector initialized");
+       sprintf(mmd->selector_info, "dbinfo1: playlist selector initialized\n");
        return 1;
 err_out:
        if (ppd->client_data_shm_id >= 0)