summaryrefslogtreecommitdiff
path: root/protocols/MRA/src/MraMRIMProxy.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-10-06 13:21:49 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-10-06 13:21:49 +0000
commit3329eb8ef9fa3cbbc630d3fcd3cf3c625475f900 (patch)
tree921e73fb8134dfdf984d37dfc8295960865ae1f7 /protocols/MRA/src/MraMRIMProxy.cpp
parentd75dd2044afb15f55f231902ce5bb7e1aae717ea (diff)
russian identifier extincted
git-svn-id: http://svn.miranda-ng.org/main/trunk@6375 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/MRA/src/MraMRIMProxy.cpp')
-rw-r--r--protocols/MRA/src/MraMRIMProxy.cpp4
1 files changed, 2 insertions, 2 deletions
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.timeout<MRA_TIMEOUT_CONN_MIN) nloc.timeout = MRA_TIMEOUT_CONN_MIN;
- if (nloc.timeout>MRA_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++) {