Commit 69de84a9 authored by David Woodhouse's avatar David Woodhouse

Make 'base' arg to openconnect_create_useragent() const

Signed-off-by: default avatarDavid Woodhouse <>
parent fc4b1e57
......@@ -823,7 +823,7 @@ int openconnect_obtain_cookie(struct openconnect_info *vpninfo)
return 0;
char *openconnect_create_useragent(char *base)
char *openconnect_create_useragent(const char *base)
char *uagent;
......@@ -279,7 +279,7 @@ int parse_xml_response(struct openconnect_info *vpninfo, char *response,
const char **request_body_type);
/* http.c */
char *openconnect_create_useragent(char *base);
char *openconnect_create_useragent(const char *base);
int process_proxy(struct openconnect_info *vpninfo, int ssl_sock);
int internal_parse_url(char *url, char **res_proto, char **res_host,
int *res_port, char **res_path, int default_port);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment