fixup: rename db_mpd_build_query to db_mpd_start_query, removed unused

function from db.h
This commit is contained in:
chme 2015-02-15 13:59:35 +01:00
parent 7024f2f3e7
commit 3eab952867
3 changed files with 3 additions and 6 deletions

View File

@ -1878,7 +1878,7 @@ db_query_fetch_string_sort(struct query_params *qp, char **string, char **sortst
/* Filelist */
int
db_mpd_build_query_filelist(struct query_params *qp, char *parentpath)
db_mpd_start_query_filelist(struct query_params *qp, char *parentpath)
{
char *query;
int ret;

View File

@ -492,14 +492,11 @@ db_group_persistentid_byid(int id, int64_t *persistentid);
/* Filelist */
int
db_mpd_build_query_filelist(struct query_params *qp, char *path);
db_mpd_start_query_filelist(struct query_params *qp, char *path);
int
db_mpd_query_fetch_filelist(struct query_params *qp, struct filelist_info *fi);
struct filelist_info *
db_filelist_fetch_bypath(const char *path);
/* Remotes */
int
db_pairing_add(struct pairing_info *pi);

View File

@ -1933,7 +1933,7 @@ mpd_command_lsinfo(struct evbuffer *evbuf, int argc, char **argv, char **errmsg)
memset(&qp, 0, sizeof(struct query_params));
ret = db_mpd_build_query_filelist(&qp, parent);
ret = db_mpd_start_query_filelist(&qp, parent);
if (ret < 0)
{
DPRINTF(E_LOG, L_MPD, "Could not start query for path '%s'\n", argv[1]);