- client: don't generate notice if lookup of host

in remote_hosts.cfg fails.

svn path=/trunk/boinc/; revision=24328
This commit is contained in:
David Anderson 2011-10-04 17:14:17 +00:00
parent c84ede6156
commit 1e4f187cb5
2 changed files with 9 additions and 4 deletions

View File

@ -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

View File

@ -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 {