diff options
author | George Hazan <george.hazan@gmail.com> | 2012-09-27 08:09:54 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-09-27 08:09:54 +0000 |
commit | 4a57667c0372692f38be7457a1d11346af5e17c1 (patch) | |
tree | c0b65afce8acd7f062b38fe7bfe389da567327ab /protocols/MRA/MraMRIMProxy.cpp | |
parent | 86651ea27acb5ba7f4cba2fdeb8a8a1d6bd3165f (diff) |
- fix for MRA avatar path
- code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@1677 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/MRA/MraMRIMProxy.cpp')
-rw-r--r-- | protocols/MRA/MraMRIMProxy.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/MRA/MraMRIMProxy.cpp b/protocols/MRA/MraMRIMProxy.cpp index d0690141a4..01a46ecc49 100644 --- a/protocols/MRA/MraMRIMProxy.cpp +++ b/protocols/MRA/MraMRIMProxy.cpp @@ -132,7 +132,7 @@ DWORD CMraProto::MraMrimProxyConnect(HANDLE hMraMrimProxyData, HANDLE *phConnect do {
pmmpd->hConnection = (HANDLE)CallService(MS_NETLIB_OPENCONNECTION, (WPARAM)hNetlibUser, (LPARAM)&nloc);
}
- while(--dwCurConnectReTryCount && pmmpd->hConnection == NULL);
+ while (--dwCurConnectReTryCount && pmmpd->hConnection == NULL);
if (pmmpd->hConnection) {
nls.cbSize = sizeof(nls);
@@ -145,7 +145,7 @@ DWORD CMraProto::MraMrimProxyConnect(HANDLE hMraMrimProxyData, HANDLE *phConnect 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) {
+ while (bContinue) {
switch (CallService(MS_NETLIB_SELECT, 0, (LPARAM)&nls)) {
case SOCKET_ERROR:
case 0:// Time out
|