Skip to content

Commit

Permalink
Make 'print_equals' string const to avoid compiler complaints
Browse files Browse the repository at this point in the history
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
  • Loading branch information
David Woodhouse authored and David Woodhouse committed Sep 15, 2011
1 parent 468bbb0 commit 4a5bae9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion http.c
Expand Up @@ -149,7 +149,8 @@ static int process_http_response(struct openconnect_info *vpninfo, int *result,
webvpn cookie in the verbose debug output */
if (!strcasecmp(buf, "Set-Cookie")) {
char *semicolon = strchr(colon, ';');
char *print_equals, *equals = strchr(colon, '=');
const char *print_equals;
char *equals = strchr(colon, '=');
int ret;

if (semicolon)
Expand Down

0 comments on commit 4a5bae9

Please sign in to comment.