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:
a4f0939
)
Fix another const char warning in start_cstp_connection()
author
David Woodhouse
<David.Woodhouse@intel.com>
Thu, 15 Sep 2011 17:38:19 +0000
(18:38 +0100)
committer
David Woodhouse
<David.Woodhouse@intel.com>
Thu, 15 Sep 2011 17:38:19 +0000
(18:38 +0100)
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
cstp.c
patch
|
blob
|
history
diff --git
a/cstp.c
b/cstp.c
index
fea0086
..
b06f2af
100644
(file)
--- a/
cstp.c
+++ b/
cstp.c
@@
-148,7
+148,7
@@
static int start_cstp_connection(struct openconnect_info *vpninfo)
if (strncmp(buf, "HTTP/1.1 200 ", 13)) {
if (!strncmp(buf, "HTTP/1.1 503 ", 13)) {
/* "Service Unavailable. Why? */
- char *reason = "<unknown>";
+ c
onst c
har *reason = "<unknown>";
while ((i = openconnect_SSL_gets(vpninfo->https_ssl, buf, sizeof(buf)))) {
if (!strncmp(buf, "X-Reason: ", 10)) {
reason = buf + 10;