summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2016-08-31 13:20:39 +0000
committerGeorge Hazan <george.hazan@gmail.com>2016-08-31 13:20:39 +0000
commit77166a40c0080637af5bae1171ebbb078fc371f5 (patch)
tree642c60942d9a4a0d6a0f72bc98bfb533507af2df /protocols
parent3a5de07630ca2f73e9f7eebf8e9c5146faf198de (diff)
git-svn-id: http://svn.miranda-ng.org/main/trunk@17231 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols')
-rw-r--r--protocols/MSN/src/msn_chat.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/MSN/src/msn_chat.cpp b/protocols/MSN/src/msn_chat.cpp
index 0c87d43f5b..abdeac5334 100644
--- a/protocols/MSN/src/msn_chat.cpp
+++ b/protocols/MSN/src/msn_chat.cpp
@@ -186,8 +186,8 @@ void CMsnProto::MSN_GCProcessThreadActivity(ezxml_t xmli, const wchar_t *mChatID
GCEVENT gce = { sizeof(gce), &gcd };
gce.dwFlags = GCEF_ADDTOLOG;
gce.time = MsnTSToUnixtime(ezxml_txt(ezxml_child(xmli, "eventtime")));
- gce.ptszUID = initiator?mir_a2u(initiator->txt):NULL;
- MCONTACT hContInitiator = MSN_HContactFromEmail(initiator->txt);
+ gce.ptszUID = initiator ? mir_a2u(initiator->txt) : NULL;
+ MCONTACT hContInitiator = MSN_HContactFromEmail(initiator ? initiator->txt : NULL);
gce.ptszNick = GetContactNameT(hContInitiator);
gce.ptszText = mir_a2u(ezxml_txt(ezxml_child(xmli, "value")));
CallServiceSync(MS_GC_EVENT, 0, (LPARAM)&gce);