From 925f06f829eae06a725d3f72f5d56da4ca5ec324 Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Fri, 15 Apr 2005 18:08:05 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=5858 --- clientgui/MainDocument.cpp | 4 ++-- lib/gui_rpc_client.C | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/clientgui/MainDocument.cpp b/clientgui/MainDocument.cpp index 20ba4d50c1..a57b9e3e56 100644 --- a/clientgui/MainDocument.cpp +++ b/clientgui/MainDocument.cpp @@ -121,9 +121,9 @@ void* CNetworkConnection::Poll() { } if (!retval) { - wxLogTrace("CNetworkConnection::Poll - RPC Initialization Called"); + fprintf(stderr, "CNetworkConnection::Poll - RPC Initialization Called"); } else { - wxLogTrace("CNetworkConnection::Poll - RPC Initialization Failed '%d'", retval); + fprintf(stderr, "CNetworkConnection::Poll - RPC Initialization Failed '%d'", retval); SetStateError(); } } diff --git a/lib/gui_rpc_client.C b/lib/gui_rpc_client.C index f33d82982d..58ef672e61 100644 --- a/lib/gui_rpc_client.C +++ b/lib/gui_rpc_client.C @@ -1000,6 +1000,7 @@ int RPC_CLIENT::init(const char* host, bool asynch) { } } } + fprintf(stderr, "RPC_CLIENT::init sock = '%d'", sock); return 0; } @@ -1016,6 +1017,8 @@ int RPC_CLIENT::init_poll() { FD_SET(sock, &write_fds); FD_SET(sock, &error_fds); + fprintf(stderr, "RPC_CLIENT::init_poll sock = '%d'", sock); + tv.tv_sec = tv.tv_usec = 0; select(FD_SETSIZE, &read_fds, &write_fds, &error_fds, &tv); retval = 0; @@ -1135,6 +1138,7 @@ RPC::~RPC() { int RPC::do_rpc(const char* req) { int retval; + fprintf(stderr, "RPC::do_rpc rpc_client->sock = '%d'", rpc_client->sock); if (rpc_client->sock == 0) return ERR_CONNECT; #ifdef DEBUG puts(req);