*** empty log message ***

svn path=/trunk/boinc/; revision=10819
This commit is contained in:
Rom Walton 2006-08-02 17:58:27 +00:00
parent 6641b8d877
commit 7fffb4d8d4
1 changed files with 4 additions and 0 deletions

View File

@ -117,10 +117,14 @@ void CNetworkConnection::Poll() {
if (!IsConnected()) {
// determine computer name and password to use.
// NOTE: Initial connection case.
if (!m_strNewComputerName.empty()) {
strComputer = m_strNewComputerName;
strComputerPassword = m_strNewComputerPassword;
} else {
// NOTE: Reconnect after a disconnect case.
// Values are stored after the first successful connect to the host.
// See: SetStateSuccess()
if (!m_strConnectedComputerName.empty()) {
strComputer = m_strConnectedComputerName;
strComputerPassword = m_strConnectedComputerPassword;