From 1e4f187cb5d75821100fbfab5c8568b476f7488b Mon Sep 17 00:00:00 2001 From: David Anderson Date: Tue, 4 Oct 2011 17:14:17 +0000 Subject: [PATCH] - client: don't generate notice if lookup of host in remote_hosts.cfg fails. svn path=/trunk/boinc/; revision=24328 --- checkin_notes | 7 +++++++ client/gui_rpc_server.cpp | 6 ++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/checkin_notes b/checkin_notes index 61339f7c56..7d11fa8281 100644 --- a/checkin_notes +++ b/checkin_notes @@ -6759,3 +6759,10 @@ David 3 Oct 2011 handle_request.cpp lib/ coproc.cpp,h + +David 4 Oct 2011 + - client: don't generate notice if lookup of host + in remote_hosts.cfg fails. + + client/ + gui_rpc_server.cpp diff --git a/client/gui_rpc_server.cpp b/client/gui_rpc_server.cpp index 7bff55d6f0..7e522cf883 100644 --- a/client/gui_rpc_server.cpp +++ b/client/gui_rpc_server.cpp @@ -188,10 +188,8 @@ int GUI_RPC_CONN_SET::get_allowed_hosts() { if (!(buf[0] =='#' || buf[0] == ';') && strlen(buf) > 0 ) { retval = resolve_hostname_or_ip_addr(buf, ip_addr); if (retval) { - msg_printf_notice(0, false, - "http://boinc.berkeley.edu/manager_links.php?target=notice&controlid=remote_hosts", - "%s: %s", - _("Can't resolve hostname in remote_hosts.cfg"), + msg_printf(NULL, MSG_INFO, + "Can't resolve hostname in remote_hosts.cfg: %s", buf ); } else {