From 42b0a794d93187d3fadcad76a2a335ae8afe1df3 Mon Sep 17 00:00:00 2001 From: Maks Naumov Date: Wed, 20 Aug 2014 11:16:34 +0300 Subject: [PATCH] bouncedcc: Fix test for "Connected" state --- modules/bouncedcc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/bouncedcc.cpp b/modules/bouncedcc.cpp index 89c63fc6..564162e2 100644 --- a/modules/bouncedcc.cpp +++ b/modules/bouncedcc.cpp @@ -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"; } }