projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Describe the SPTPS protocol in the manual.
[tinc]
/
src
/
meta.c
diff --git
a/src/meta.c
b/src/meta.c
index
3bf2809
..
fafba65
100644
(file)
--- a/
src/meta.c
+++ b/
src/meta.c
@@
-201,7
+201,7
@@
bool receive_meta(connection_t *c) {
logger(DEBUG_CONNECTIONS, LOG_ERR, "Invalid response from proxy server");
return false;
}
logger(DEBUG_CONNECTIONS, LOG_ERR, "Invalid response from proxy server");
return false;
}
- if(tcpbuffer[1] == 0xff) {
+ if(tcpbuffer[1] ==
(char)
0xff) {
logger(DEBUG_CONNECTIONS, LOG_ERR, "Proxy request rejected: unsuitable authentication method");
return false;
}
logger(DEBUG_CONNECTIONS, LOG_ERR, "Proxy request rejected: unsuitable authentication method");
return false;
}