aboutsummaryrefslogtreecommitdiffstats
path: root/src/wps
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2015-10-03 13:26:10 (GMT)
committerJouni Malinen <j@w1.fi>2015-10-03 13:26:10 (GMT)
commitfcb81ba7d615e51fb155534a83c59933f9df591c (patch)
tree1d69ea87abb14882b779ffc0413047a1d5388956 /src/wps
parentaeba66b28e8d93cec6cb7848617c3c191240fb0f (diff)
downloadhostap-fcb81ba7d615e51fb155534a83c59933f9df591c.zip
hostap-fcb81ba7d615e51fb155534a83c59933f9df591c.tar.gz
hostap-fcb81ba7d615e51fb155534a83c59933f9df591c.tar.bz2
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 <j@w1.fi>
Diffstat (limited to 'src/wps')
-rw-r--r--src/wps/wps_upnp_web.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wps/wps_upnp_web.c b/src/wps/wps_upnp_web.c
index d5b0b5b..e841b1f 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;