Set capability atoms to true in server-info reply
Capability atoms like mslr, msbr and friends should be set to true; it seems their presence in the reply is actually enough, though.
This commit is contained in:
parent
7e3b6957b2
commit
98cb978b9b
|
@ -889,14 +889,14 @@ daap_reply_server_info(struct evhttp_request *req, struct evbuffer *evbuf, char
|
||||||
dmap_add_int(evbuf, "mstm", 1800); /* 12 */
|
dmap_add_int(evbuf, "mstm", 1800); /* 12 */
|
||||||
dmap_add_string(evbuf, "minm", name); /* 8 + strlen(name) */
|
dmap_add_string(evbuf, "minm", name); /* 8 + strlen(name) */
|
||||||
|
|
||||||
dmap_add_char(evbuf, "mslr", 0); /* 9 */
|
dmap_add_char(evbuf, "mslr", 1); /* 9 */
|
||||||
dmap_add_char(evbuf, "msau", (passwd) ? 2 : 0); /* 9 */
|
dmap_add_char(evbuf, "msau", (passwd) ? 2 : 0); /* 9 */
|
||||||
dmap_add_char(evbuf, "msex", 0); /* 9 */
|
dmap_add_char(evbuf, "msex", 1); /* 9 */
|
||||||
dmap_add_char(evbuf, "msix", 0); /* 9 */
|
dmap_add_char(evbuf, "msix", 1); /* 9 */
|
||||||
dmap_add_char(evbuf, "msbr", 0); /* 9 */
|
dmap_add_char(evbuf, "msbr", 1); /* 9 */
|
||||||
dmap_add_char(evbuf, "msqy", 0); /* 9 */
|
dmap_add_char(evbuf, "msqy", 1); /* 9 */
|
||||||
|
|
||||||
dmap_add_char(evbuf, "mspi", 0); /* 9 */
|
dmap_add_char(evbuf, "mspi", 1); /* 9 */
|
||||||
dmap_add_int(evbuf, "msdc", 1); /* 12 */
|
dmap_add_int(evbuf, "msdc", 1); /* 12 */
|
||||||
|
|
||||||
if (supports_update)
|
if (supports_update)
|
||||||
|
|
Loading…
Reference in New Issue