mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-03-22 14:39:24 -05:00
Eliminate a "possible unintended assignment" warning.
[originally from svn r3179]
This commit is contained in:
parent
ccc9ec2bce
commit
c98b69f651
5
proxy.c
5
proxy.c
@ -387,8 +387,9 @@ Socket new_connection(SockAddr addr, char *hostname,
|
|||||||
char *proxy_canonical_name;
|
char *proxy_canonical_name;
|
||||||
Socket sret;
|
Socket sret;
|
||||||
|
|
||||||
if ( (sret = platform_new_connection(addr, hostname, port, privport,
|
if ((sret = platform_new_connection(addr, hostname, port, privport,
|
||||||
oobinline, nodelay, plug, cfg)) )
|
oobinline, nodelay, plug, cfg)) !=
|
||||||
|
NULL)
|
||||||
return sret;
|
return sret;
|
||||||
|
|
||||||
ret = snew(struct Socket_proxy_tag);
|
ret = snew(struct Socket_proxy_tag);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user