mirror of
https://github.com/owntone/owntone-server.git
synced 2025-05-04 16:56:45 -04:00
fixup indentation
This commit is contained in:
parent
8036a5a6d3
commit
79646c78e4
@ -1183,7 +1183,8 @@ playqueuecontents_add_source(struct evbuffer *songlist, uint32_t source_id, int
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void dacp_reply_playqueuecontents(struct evhttp_request *req, struct evbuffer *evbuf, char **uri,
|
static void
|
||||||
|
dacp_reply_playqueuecontents(struct evhttp_request *req, struct evbuffer *evbuf, char **uri,
|
||||||
struct evkeyvalq *query)
|
struct evkeyvalq *query)
|
||||||
{
|
{
|
||||||
struct daap_session *s;
|
struct daap_session *s;
|
||||||
@ -1252,7 +1253,8 @@ static void dacp_reply_playqueuecontents(struct evhttp_request *req, struct evbu
|
|||||||
}
|
}
|
||||||
for (n = 0; n < history->count && n < abs(span); n++)
|
for (n = 0; n < history->count && n < abs(span); n++)
|
||||||
{
|
{
|
||||||
ret = playqueuecontents_add_source(songlist, history->id[(start_index + n) % MAX_HISTORY_COUNT], (n + 1), status.plid);
|
ret = playqueuecontents_add_source(songlist, history->id[(start_index + n) % MAX_HISTORY_COUNT], (n + 1),
|
||||||
|
status.plid);
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
{
|
{
|
||||||
DPRINTF(E_LOG, L_DACP, "Could not add song to songlist for playqueue-contents\n");
|
DPRINTF(E_LOG, L_DACP, "Could not add song to songlist for playqueue-contents\n");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user