From 3329eb8ef9fa3cbbc630d3fcd3cf3c625475f900 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 6 Oct 2013 13:21:49 +0000 Subject: russian identifier extincted git-svn-id: http://svn.miranda-ng.org/main/trunk@6375 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/MRA/src/MraMRIMProxy.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/MRA/src/MraMRIMProxy.cpp') diff --git a/protocols/MRA/src/MraMRIMProxy.cpp b/protocols/MRA/src/MraMRIMProxy.cpp index 6a84e441ec..004a625819 100644 --- a/protocols/MRA/src/MraMRIMProxy.cpp +++ b/protocols/MRA/src/MraMRIMProxy.cpp @@ -106,8 +106,8 @@ DWORD CMraProto::MraMrimProxyConnect(HANDLE hMraMrimProxyData, HANDLE *phConnect nloc.cbSize = sizeof(nloc); nloc.flags = NLOCF_V2; nloc.timeout = ((MRA_TIMEOUT_DIRECT_CONN-1)/(pmmpd->malAddrList.dwAddrCount*dwConnectReTryCount));// -1 ñåê ÷òîáû áûë çàïàñ - if (nloc.timeoutMRA_TIMEOUT_CONN_ÌÀÕ) nloc.timeout = MRA_TIMEOUT_CONN_ÌÀÕ; + if (nloc.timeout < MRA_TIMEOUT_CONN_MIN) nloc.timeout = MRA_TIMEOUT_CONN_MIN; + if (nloc.timeout > MRA_TIMEOUT_CONN_ÌAX) nloc.timeout = MRA_TIMEOUT_CONN_ÌAX; // Set up the sockaddr structure for (size_t i = 0; i < pmmpd->malAddrList.dwAddrCount && dwRetErrorCode != NO_ERROR; i++) { -- cgit v1.2.3