work around bug which prevented default screensaver boincscr from communicating with Mac client

svn path=/trunk/boinc/; revision=22450
This commit is contained in:
Charlie Fenton 2010-10-06 09:00:05 +00:00
parent 01a1c3ee65
commit 73e65cd425
2 changed files with 10 additions and 2 deletions

View File

@ -7091,3 +7091,11 @@ David 5 Oct 2010
client/ client/
cs_prefs.cpp cs_prefs.cpp
Charlie 6 Oct 2010
- ss_app: call rpc.init(NULL) not rpc.init("localhost") to work around
a bug which prevented default screensaver boincscr from communicating
with client on Mac (and probably other computers which support IPV6.)
clientscr/
ss_app.cpp

View File

@ -374,7 +374,7 @@ void app_graphics_render(int xs, int ys, double t) {
if (!connected) { if (!connected) {
if (t > next_connect_time) { if (t > next_connect_time) {
retval = rpc.init("localhost"); retval = rpc.init(NULL);
if (!retval) { if (!retval) {
retval = update_data(); retval = update_data();
} }
@ -481,7 +481,7 @@ int main(int argc, char** argv) {
#endif #endif
if (test) { if (test) {
retval = rpc.init("localhost"); retval = rpc.init(NULL);
if (!retval) { if (!retval) {
retval = update_data(); retval = update_data();
} }