[httpd/mpd] Adjustments to commit #69ff42f

This commit is contained in:
ejurgensen
2017-11-15 23:13:20 +01:00
parent 69ff42fc6a
commit a6fab4ac0d
8 changed files with 80 additions and 66 deletions

View File

@@ -284,7 +284,7 @@ rsp_request_authorize(struct httpd_request *hreq)
char *passwd;
int ret;
if (httpd_peer_is_trusted(hreq->req))
if (peer_address_is_trusted(hreq->peer_address))
return 0;
passwd = cfg_getstr(cfg_getsec(cfg, "library"), "password");