From c98b69f651efcfc0e4e4eeb9ff4e86d19cec03ee Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Sat, 10 May 2003 11:50:18 +0000 Subject: [PATCH] Eliminate a "possible unintended assignment" warning. [originally from svn r3179] --- proxy.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/proxy.c b/proxy.c index 42b713e5..2c0554ad 100644 --- a/proxy.c +++ b/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);