Merge pull request #635 from maksqwe/fix_state

bouncedcc: Fix test for "Connected" state
This commit is contained in:
Uli Schlachter
2014-08-20 10:28:36 +02:00
+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";
}
}