X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=mysql_selector.c;h=b51f4f079c82cf12994e9f91f0fb553769983932;hp=2ed81f98ec4650b8497c89bd4e916a346debc76b;hb=e04fd7a21f2013ce0edd3140195cb3f11ce91faf;hpb=86d000420746596a6a932c47cdcdee21fe1e322d diff --git a/mysql_selector.c b/mysql_selector.c index 2ed81f98..b51f4f07 100644 --- a/mysql_selector.c +++ b/mysql_selector.c @@ -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);