mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-10 01:48:00 +00: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;
|
||||
Socket sret;
|
||||
|
||||
if ( (sret = platform_new_connection(addr, hostname, port, privport,
|
||||
oobinline, nodelay, plug, cfg)) )
|
||||
if ((sret = platform_new_connection(addr, hostname, port, privport,
|
||||
oobinline, nodelay, plug, cfg)) !=
|
||||
NULL)
|
||||
return sret;
|
||||
|
||||
ret = snew(struct Socket_proxy_tag);
|
||||
|
Loading…
Reference in New Issue
Block a user