]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
mysql_selector.c: rename get_dbinfo() to get_selector_info()
authorAndre <maan@p133.(none)>
Fri, 10 Mar 2006 21:54:36 +0000 (22:54 +0100)
committerAndre <maan@p133.(none)>
Fri, 10 Mar 2006 21:54:36 +0000 (22:54 +0100)
mysql_selector.c

index 2ed81f98ec4650b8497c89bd4e916a346debc76b..b51f4f079c82cf12994e9f91f0fb553769983932 100644 (file)
@@ -1248,7 +1248,7 @@ out:
  * This is called from server and from some commands. Name must not be NULL
  * Never returns NULL.
  */
-static char *get_dbinfo(char *name)
+static char *get_selector_info(char *name)
 {
        char *meta = NULL, *atts = NULL, *info, *dir = NULL, *query, *stream = NULL;
        void *result = NULL;
@@ -1814,7 +1814,7 @@ static void update_mmd(char *info)
 static void update_audio_file_server_handler(char *name)
 {
        char *info;
-       info = get_dbinfo(name);
+       info = get_selector_info(name);
        update_mmd(info);
        free(info);
        update_audio_file(name);
@@ -1834,7 +1834,7 @@ static void refresh_selector_info(void)
 
        if (!name)
                return;
-       info = get_dbinfo(name);
+       info = get_selector_info(name);
        free(name);
        mmd_lock();
        update_mmd(info);