summaryrefslogtreecommitdiff
path: root/protocols/MSN/src/msn_avatar.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-11-16 18:15:16 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-11-16 18:15:16 +0000
commit8a59f88f48312eb877347a233b0a6ec11c9ab550 (patch)
tree8c9724efe668b5744bd37fe6ae3b45330a53b742 /protocols/MSN/src/msn_avatar.cpp
parent8148930684c823e526ab8092b33c129a8b17db74 (diff)
MSN protocol's death-scream
git-svn-id: http://svn.miranda-ng.org/main/trunk@10998 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/MSN/src/msn_avatar.cpp')
-rw-r--r--protocols/MSN/src/msn_avatar.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/protocols/MSN/src/msn_avatar.cpp b/protocols/MSN/src/msn_avatar.cpp
index ba3b0da6ce..50c7430e83 100644
--- a/protocols/MSN/src/msn_avatar.cpp
+++ b/protocols/MSN/src/msn_avatar.cpp
@@ -39,7 +39,7 @@ void CMsnProto::pushAvatarRequest(MCONTACT hContact, LPCSTR pszUrl)
if (pszUrl != NULL && *pszUrl != 0) {
mir_cslock lck(csAvatarQueue);
- for (int i=0; i < lsAvatarQueue.getCount(); i++)
+ for (int i = 0; i < lsAvatarQueue.getCount(); i++)
if (lsAvatarQueue[i]->hContact == hContact)
return;
@@ -96,11 +96,11 @@ LBL_Error:
void __cdecl CMsnProto::MSN_AvatarsThread(void*)
{
- while(true) {
+ while (true) {
if (WaitForSingleObject(hevAvatarQueue, INFINITE) != WAIT_OBJECT_0)
break;
- if ( Miranda_Terminated())
+ if (Miranda_Terminated())
break;
AvatarQueueEntry *p = NULL;
@@ -115,7 +115,7 @@ void __cdecl CMsnProto::MSN_AvatarsThread(void*)
if (p == NULL)
continue;
- if ( !loadHttpAvatar(p))
+ if (!loadHttpAvatar(p))
ProtoBroadcastAck(p->hContact, ACKTYPE_AVATAR, ACKRESULT_FAILED, 0, 0);
delete p;
}