mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=10819
This commit is contained in:
parent
6641b8d877
commit
7fffb4d8d4
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue