From 71bf8390b05b3a8d84af4a85d36099e0d8c1b280 Mon Sep 17 00:00:00 2001 From: Julien BLACHE Date: Wed, 8 Sep 2010 19:22:26 +0200 Subject: [PATCH] Constify http_reply_401 --- src/httpd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/httpd.c b/src/httpd.c index de29ad25..7af33a27 100644 --- a/src/httpd.c +++ b/src/httpd.c @@ -1091,7 +1091,7 @@ httpd_fixup_uri(struct evhttp_request *req) return fixed; } -static char *http_reply_401 = "401 UnauthorizedAuthorization required"; +static const char *http_reply_401 = "401 UnauthorizedAuthorization required"; int httpd_basic_auth(struct evhttp_request *req, char *user, char *passwd, char *realm)