Swap artwork arguments so destination evbuffer comes first

This commit is contained in:
ejurgensen
2015-04-09 21:23:20 +02:00
parent f1931bfc1a
commit 94f94b03fe
5 changed files with 39 additions and 39 deletions

View File

@@ -2375,9 +2375,9 @@ daap_reply_extra_data(struct evhttp_request *req, struct evbuffer *evbuf, char *
}
if (strcmp(uri[2], "groups") == 0)
ret = artwork_get_group(id, max_w, max_h, evbuf);
ret = artwork_get_group(evbuf, id, max_w, max_h);
else if (strcmp(uri[2], "items") == 0)
ret = artwork_get_item(id, max_w, max_h, evbuf);
ret = artwork_get_item(evbuf, id, max_w, max_h);
switch (ret)
{