projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Reorganise setup_fonts_ucs so that in case of error it does nothing
[u/mdw/putty]
/
proxy.c
diff --git
a/proxy.c
b/proxy.c
index
3c81884
..
bb89a17
100644
(file)
--- a/
proxy.c
+++ b/
proxy.c
@@
-750,8
+750,7
@@
int proxy_socks4_negotiate (Proxy_Socket p, int change)
type = sk_addrtype(p->remote_addr);
if (type == ADDRTYPE_IPV6) {
type = sk_addrtype(p->remote_addr);
if (type == ADDRTYPE_IPV6) {
- plug_closing(p->plug, "Proxy error: SOCKS version 4 does"
- " not support IPv6", PROXY_ERROR_GENERAL, 0);
+ p->error = "Proxy error: SOCKS version 4 does not support IPv6";
return 1;
} else if (type == ADDRTYPE_IPV4) {
namelen = 0;
return 1;
} else if (type == ADDRTYPE_IPV4) {
namelen = 0;