libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

commit bd629c51f6ccdacdde67549b457be59b34b05b08
parent 7b1a97858136d6b7c4a136ba2b8c6da2b9c73fd7
Author: Christian Grothoff <christian@grothoff.org>
Date:   Mon, 15 Aug 2016 11:05:56 +0000

-use const, as this may actually point to a const string

Diffstat:
Msrc/microhttpd/internal.h | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/microhttpd/internal.h b/src/microhttpd/internal.h @@ -613,7 +613,7 @@ struct MHD_Connection * Requested URL (everything after "GET" only). Allocated * in pool. */ - char *url; + const char *url; /** * HTTP version string (i.e. http/1.1). Allocated