mirror of
https://github.com/owntone/owntone-server.git
synced 2025-02-09 04:38:10 -05:00
fixup: rename db_mpd_build_query to db_mpd_start_query, removed unused
function from db.h
This commit is contained in:
parent
7024f2f3e7
commit
3eab952867
2
src/db.c
2
src/db.c
@ -1878,7 +1878,7 @@ db_query_fetch_string_sort(struct query_params *qp, char **string, char **sortst
|
|||||||
/* Filelist */
|
/* Filelist */
|
||||||
|
|
||||||
int
|
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;
|
char *query;
|
||||||
int ret;
|
int ret;
|
||||||
|
5
src/db.h
5
src/db.h
@ -492,14 +492,11 @@ db_group_persistentid_byid(int id, int64_t *persistentid);
|
|||||||
|
|
||||||
/* Filelist */
|
/* Filelist */
|
||||||
int
|
int
|
||||||
db_mpd_build_query_filelist(struct query_params *qp, char *path);
|
db_mpd_start_query_filelist(struct query_params *qp, char *path);
|
||||||
|
|
||||||
int
|
int
|
||||||
db_mpd_query_fetch_filelist(struct query_params *qp, struct filelist_info *fi);
|
db_mpd_query_fetch_filelist(struct query_params *qp, struct filelist_info *fi);
|
||||||
|
|
||||||
struct filelist_info *
|
|
||||||
db_filelist_fetch_bypath(const char *path);
|
|
||||||
|
|
||||||
/* Remotes */
|
/* Remotes */
|
||||||
int
|
int
|
||||||
db_pairing_add(struct pairing_info *pi);
|
db_pairing_add(struct pairing_info *pi);
|
||||||
|
@ -1933,7 +1933,7 @@ mpd_command_lsinfo(struct evbuffer *evbuf, int argc, char **argv, char **errmsg)
|
|||||||
|
|
||||||
memset(&qp, 0, sizeof(struct query_params));
|
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)
|
if (ret < 0)
|
||||||
{
|
{
|
||||||
DPRINTF(E_LOG, L_MPD, "Could not start query for path '%s'\n", argv[1]);
|
DPRINTF(E_LOG, L_MPD, "Could not start query for path '%s'\n", argv[1]);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user