projects
/
platform
/
upstream
/
openconnect.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
468bbb0
)
Make 'print_equals' string const to avoid compiler complaints
author
David Woodhouse
<David.Woodhouse@intel.com>
Thu, 15 Sep 2011 16:57:57 +0000
(17:57 +0100)
committer
David Woodhouse
<David.Woodhouse@intel.com>
Thu, 15 Sep 2011 16:57:57 +0000
(17:57 +0100)
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
http.c
patch
|
blob
|
history
diff --git
a/http.c
b/http.c
index
4802007
..
0f18410
100644
(file)
--- a/
http.c
+++ b/
http.c
@@
-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)