From 907a7cb7f007e4f82619a547ae9377f0553f7244 Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Fri, 15 Apr 2005 19:01:25 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=5863 --- lib/gui_rpc_client.C | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/lib/gui_rpc_client.C b/lib/gui_rpc_client.C index f37168b92d..1683e4f86b 100644 --- a/lib/gui_rpc_client.C +++ b/lib/gui_rpc_client.C @@ -976,14 +976,13 @@ int RPC_CLIENT::init(const char* host, bool asynch) { tried_alt_port = false; retval = boinc_socket_asynch(sock, true); if (retval) { - printf("asynch error: %d\n", retval); + fprintf(stderr, "asynch error: %d\n", retval); } retval = connect(sock, (const sockaddr*)(&addr), sizeof(addr)); if (retval) { - perror("connect"); + fprintf(stderr, "connect"); } - //fprintf(stderr, "attempting connect to alt port\n"); - return 0; + fprintf(stderr, "attempting connect to alt port\n"); } else { retval = connect(sock, (const sockaddr*)(&addr), sizeof(addr)); if (retval) {