Constify http_reply_401

This commit is contained in:
Julien BLACHE 2010-09-08 19:22:26 +02:00
parent 535d691a4a
commit 71bf8390b0

View File

@ -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)