*** empty log message ***

svn path=/trunk/boinc/; revision=5854
This commit is contained in:
Rom Walton 2005-04-14 23:10:49 +00:00
parent 893c211845
commit 02d3c6fda5
1 changed files with 6 additions and 6 deletions

View File

@ -66,23 +66,23 @@ void* CNetworkConnection::Poll() {
std::string strComputerPassword;
if (IsReconnecting()) {
wxLogTrace("CNetworkConnection::Poll - Reconnection Detected");
fprintf(stderr, "CNetworkConnection::Poll - Reconnection Detected");
retval = m_pDocument->rpc.init_poll();
if (!retval) {
wxLogTrace("CNetworkConnection::Poll - init_poll() returned ERR_CONNECT, now authorizing...");
fprintf(stderr, "CNetworkConnection::Poll - init_poll() returned ERR_CONNECT, now authorizing...");
retval = m_pDocument->rpc.authorize(strComputerPassword.c_str());
if (!retval) {
wxLogTrace("CNetworkConnection::Poll - Connection Success");
fprintf(stderr, "CNetworkConnection::Poll - Connection Success");
SetStateSuccess(strComputer, strComputerPassword);
} else if (ERR_AUTHENTICATOR == retval) {
wxLogTrace("CNetworkConnection::Poll - RPC Authorization - ERR_AUTHENTICATOR");
fprintf(stderr, "CNetworkConnection::Poll - RPC Authorization - ERR_AUTHENTICATOR");
SetStateErrorAuthentication();
} else {
wxLogTrace("CNetworkConnection::Poll - RPC Authorization Failed '%d'", retval);
fprintf(stderr, "CNetworkConnection::Poll - RPC Authorization Failed '%d'", retval);
SetStateError();
}
} else if (ERR_RETRY != retval) {
wxLogTrace("CNetworkConnection::Poll - RPC Connection Failed '%d'", retval);
fprintf(stderr, "CNetworkConnection::Poll - RPC Connection Failed '%d'", retval);
SetStateError();
}
} else if (IsConnectEventSignaled() || m_bReconnectOnError) {