diff options
author | Arne Schwabe <arne@rfc2549.org> | 2013-12-09 22:03:46 +0100 |
---|---|---|
committer | Arne Schwabe <arne@rfc2549.org> | 2013-12-09 22:03:46 +0100 |
commit | a0547ee8d247f59e91e4b9196f9eafa465946a38 (patch) | |
tree | af163a89f2b66dede99e6327d9748f970a4c40e3 | |
parent | 077f361f7a910ad0e95724a95e0d8b25af185bcc (diff) |
Fix a small bug in preresolvev0.6.3
--HG--
extra : source : 25b3b672a248d61cd60309889b6f8d2514565258
-rw-r--r-- | openvpn/src/openvpn/socket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openvpn/src/openvpn/socket.c b/openvpn/src/openvpn/socket.c index f99669aa..e88148a0 100644 --- a/openvpn/src/openvpn/socket.c +++ b/openvpn/src/openvpn/socket.c @@ -242,7 +242,7 @@ do_preresolve(struct context *c) if (! ce->http_proxy_options) { status = do_preresolve_host (c, remote, ce->remote_port, ce->af, flags); - if (!status) + if (status != 0) goto err; } |