summaryrefslogtreecommitdiff
path: root/protocols/MRA/src/MraMRIMProxy.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-11-18 20:50:30 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-11-18 20:50:30 +0000
commitbdb7cf5378fc18f6dbeb4919c6b18f68917ac09a (patch)
tree603181b4d36c0803f59cd05886d504cdc1f0181b /protocols/MRA/src/MraMRIMProxy.cpp
parent728c9ab3d303eef37a0561818beb4dbee9bc9c29 (diff)
EOF spaces
git-svn-id: http://svn.miranda-ng.org/main/trunk@2364 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/MRA/src/MraMRIMProxy.cpp')
-rw-r--r--protocols/MRA/src/MraMRIMProxy.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/protocols/MRA/src/MraMRIMProxy.cpp b/protocols/MRA/src/MraMRIMProxy.cpp
index 01a46ecc49..88c4570f54 100644
--- a/protocols/MRA/src/MraMRIMProxy.cpp
+++ b/protocols/MRA/src/MraMRIMProxy.cpp
@@ -35,17 +35,17 @@ DWORD MraMrimProxySetData(HANDLE hMraMrimProxyData, LPSTR lpszEMail, size_t dwEM
memmove(pmmpd->lpszEMail, lpszEMail, dwEMailSize);
pmmpd->dwEMailSize = dwEMailSize;
}
-
+
if (dwIDRequest) pmmpd->dwIDRequest = dwIDRequest;
if (dwDataType) pmmpd->dwDataType = dwDataType;
-
+
if (lpszUserData) {
mir_free(pmmpd->lpszUserData);
pmmpd->lpszUserData = (LPSTR)mir_calloc(dwUserDataSize);
memmove(pmmpd->lpszUserData, lpszUserData, dwUserDataSize);
pmmpd->dwUserDataSize = dwUserDataSize;
}
-
+
if (lpszAddreses && dwAddresesSize)
MraAddrListGetFromBuff(lpszAddreses, dwAddresesSize, &pmmpd->malAddrList);
if (pmguidSessionID)
@@ -91,7 +91,7 @@ DWORD CMraProto::MraMrimProxyConnect(HANDLE hMraMrimProxyData, HANDLE *phConnect
MRA_MRIMPROXY_DATA *pmmpd = (MRA_MRIMPROXY_DATA*)hMraMrimProxyData;
NETLIBOPENCONNECTION nloc = {0};
- // адреса есть, значит инициаторы не мы
+ // адреса есть, значит инициаторы не мы
if (pmmpd->malAddrList.dwAddrCount) {
MraAddrListGetToBuff(&pmmpd->malAddrList, (LPSTR)lpbBufferRcv, SIZEOF(lpbBufferRcv), &dwRcvBuffSizeUsed);
MraProxyAck(PROXY_STATUS_OK, pmmpd->lpszEMail, pmmpd->dwEMailSize, pmmpd->dwIDRequest, pmmpd->dwDataType, pmmpd->lpszUserData, pmmpd->dwUserDataSize, (LPSTR)lpbBufferRcv, dwRcvBuffSizeUsed, pmmpd->mguidSessionID);
@@ -144,7 +144,7 @@ DWORD CMraProto::MraMrimProxyConnect(HANDLE hMraMrimProxyData, HANDLE *phConnect
if (pmmpd->dwDataType == MRIM_PROXY_TYPE_FILES)
ProtoBroadcastAck(m_szModuleName, MraHContactFromEmail(pmmpd->lpszEMail, pmmpd->dwEMailSize, FALSE, TRUE, NULL), ACKTYPE_FILE, ACKRESULT_CONNECTED, (HANDLE)pmmpd->dwIDRequest, 0);
MraSendPacket(nls.hReadConns[0], 0, MRIM_CS_PROXY_HELLO, &pmmpd->mguidSessionID, sizeof(MRA_GUID));
-
+
while (bContinue) {
switch (CallService(MS_NETLIB_SELECT, 0, (LPARAM)&nls)) {
case SOCKET_ERROR: