From 77166a40c0080637af5bae1171ebbb078fc371f5 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 31 Aug 2016 13:20:39 +0000 Subject: git-svn-id: http://svn.miranda-ng.org/main/trunk@17231 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/MSN/src/msn_chat.cpp | 4 ++-- 1 file 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); -- cgit v1.2.3