From 1af926f52b3af49858cc18bc7580fbe85a28f202 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Sun, 6 Dec 2009 04:38:09 +0000 Subject: [PATCH] svn path=/trunk/boinc/; revision=19793 --- lib/proxy_info.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/proxy_info.cpp b/lib/proxy_info.cpp index 38b5a509e5..41bff0e49e 100644 --- a/lib/proxy_info.cpp +++ b/lib/proxy_info.cpp @@ -53,10 +53,12 @@ int PROXY_INFO::parse(MIOFILE& in) { } int PROXY_INFO::parse_config(MIOFILE& in) { - parse(in); + int retval = parse(in); + if (retval) return retval; if (strlen(http_server_name)) use_http_proxy = true; if (strlen(socks_server_name)) use_socks_proxy = true; if (strlen(http_user_name)) use_http_auth = true; + return 0; } int PROXY_INFO::write(MIOFILE& out) {