mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-14 16:25:03 -05:00
Constify http_reply_401
This commit is contained in:
parent
535d691a4a
commit
71bf8390b0
@ -1091,7 +1091,7 @@ httpd_fixup_uri(struct evhttp_request *req)
|
||||
return fixed;
|
||||
}
|
||||
|
||||
static char *http_reply_401 = "<html><head><title>401 Unauthorized</title></head><body>Authorization required</body></html>";
|
||||
static const char *http_reply_401 = "<html><head><title>401 Unauthorized</title></head><body>Authorization required</body></html>";
|
||||
|
||||
int
|
||||
httpd_basic_auth(struct evhttp_request *req, char *user, char *passwd, char *realm)
|
||||
|
Loading…
Reference in New Issue
Block a user