From: Jouni Malinen Date: Sat, 3 Oct 2015 13:26:10 +0000 (+0300) Subject: WPS: Mark web_connection_parse_get() argument filename const X-Git-Tag: hostap_2_6~1615 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fcb81ba7d615e51fb155534a83c59933f9df591c;p=thirdparty%2Fhostap.git WPS: Mark web_connection_parse_get() argument filename const All the other web_connection_parse_*() functions were already doing this, so make the GET handler consistent as well. Signed-off-by: Jouni Malinen --- diff --git a/src/wps/wps_upnp_web.c b/src/wps/wps_upnp_web.c index d5b0b5b26..e841b1f4c 100644 --- a/src/wps/wps_upnp_web.c +++ b/src/wps/wps_upnp_web.c @@ -300,7 +300,8 @@ static void http_put_empty(struct wpabuf *buf, enum http_reply_code code) * would appear to be required (given that we will be closing it!). */ static void web_connection_parse_get(struct upnp_wps_device_sm *sm, - struct http_request *hreq, char *filename) + struct http_request *hreq, + const char *filename) { struct wpabuf *buf; /* output buffer, allocated */ char *put_length_here;