From 10d54b1be7841dba216f10d9e2fe1e5c704da3d3 Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Sat, 16 Apr 2005 04:01:01 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=5875 --- lib/gui_rpc_client.C | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/gui_rpc_client.C b/lib/gui_rpc_client.C index 74cb7abd20..b9a3a4b984 100644 --- a/lib/gui_rpc_client.C +++ b/lib/gui_rpc_client.C @@ -957,7 +957,11 @@ int RPC_CLIENT::init(const char* host, bool asynch) { } addr.sin_addr.s_addr = *(int*)hep->h_addr_list[0]; } else { +#ifdef __APPLE__ + addr.sin_addr.s_addr = htonl(INADDR_ANY); +#else addr.sin_addr.s_addr = htonl(0x7f000001); +#endif } retval = boinc_socket(sock);