bouncedcc: Fix test for "Connected" state

This commit is contained in:
Maks Naumov
2014-08-20 11:16:34 +03:00
parent acaf44f7d5
commit 42b0a794d9
+1 -1
View File
@@ -117,7 +117,7 @@ public:
CString sState = "Waiting";
if ((pSock->IsConnected()) || (pSock->IsPeerConnected())) {
sState = "Halfway";
if ((pSock->IsPeerConnected()) && (pSock->IsPeerConnected())) {
if ((pSock->IsConnected()) && (pSock->IsPeerConnected())) {
sState = "Connected";
}
}