mirror of https://github.com/BOINC/boinc.git
- client: get rid of spurious "Using proxy settings from GUI" message
svn path=/trunk/boinc/; revision=21186
This commit is contained in:
parent
5a19d33c81
commit
252b24bf8b
|
@ -2817,3 +2817,12 @@ David 13 Apr 2010
|
|||
boinc_db.cpp,h
|
||||
sched/
|
||||
most files
|
||||
|
||||
David 15 Apr 2010
|
||||
- client: get rid of spurious "Using proxy settings from GUI" message
|
||||
|
||||
client/
|
||||
cs_prefs.cpp
|
||||
gui_rpc_server_ops.cpp
|
||||
lib/
|
||||
proxy_info.cpp
|
||||
|
|
|
@ -458,10 +458,7 @@ void CLIENT_STATE::read_global_prefs() {
|
|||
file_xfers->set_bandwidth_limits(true);
|
||||
file_xfers->set_bandwidth_limits(false);
|
||||
msg_printf(NULL, MSG_INFO,
|
||||
" (to change, visit the web site of an attached project,"
|
||||
);
|
||||
msg_printf(NULL, MSG_INFO,
|
||||
" or click on Preferences)"
|
||||
" (to change preferences, visit the web site of an attached project, or select Preferences in the Manager)"
|
||||
);
|
||||
request_schedule_cpus("Prefs update");
|
||||
request_work_fetch("Prefs update");
|
||||
|
|
|
@ -371,9 +371,6 @@ static void handle_set_proxy_settings(char* buf, MIOFILE& fout) {
|
|||
MIOFILE in;
|
||||
in.init_buf_read(buf);
|
||||
gui_proxy_info.parse(in);
|
||||
if (!strlen(gui_proxy_info.http_server_name) && !strlen(gui_proxy_info.socks_server_name)) {
|
||||
gui_proxy_info.present = false;
|
||||
}
|
||||
gstate.set_client_state_dirty("Set proxy settings RPC");
|
||||
fout.printf("<success/>\n");
|
||||
select_proxy_info();
|
||||
|
|
|
@ -33,7 +33,9 @@ int PROXY_INFO::parse(MIOFILE& in) {
|
|||
memset(this, 0, sizeof(PROXY_INFO));
|
||||
while (in.fgets(buf, 256)) {
|
||||
if (match_tag(buf, "</proxy_info>")) {
|
||||
present = true;
|
||||
present = false;
|
||||
if (strlen(http_server_name)) present = true;
|
||||
if (strlen(socks_server_name)) present = true;
|
||||
return 0;
|
||||
}
|
||||
else if (parse_bool(buf, "use_http_proxy", use_http_proxy)) continue;
|
||||
|
|
Loading…
Reference in New Issue