diff options
author | George Hazan <george.hazan@gmail.com> | 2013-09-07 16:36:19 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-09-07 16:36:19 +0000 |
commit | 65da02c676e7a6f232de27f0edefc73ba02dafb9 (patch) | |
tree | fbbcf58f8709733e3b8601bb3d8a37acf2524001 /protocols/MRA/src/MraSendCommand.cpp | |
parent | 61038ead217a3342a3e98500d30976b301acfee1 (diff) |
- server group to be removed when local one is deleted
- unused stuff removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@6002 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/MRA/src/MraSendCommand.cpp')
-rw-r--r-- | protocols/MRA/src/MraSendCommand.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/protocols/MRA/src/MraSendCommand.cpp b/protocols/MRA/src/MraSendCommand.cpp index e2f6f7e008..b95df280ee 100644 --- a/protocols/MRA/src/MraSendCommand.cpp +++ b/protocols/MRA/src/MraSendCommand.cpp @@ -219,7 +219,10 @@ DWORD CMraProto::MraModifyContact(HANDLE hContact, DWORD *pdwID, DWORD *pdwConta CMStringA szEmail, szPhones;
CMStringW wszNick, wszCustomName;
DWORD dwID, dwGroupID, dwContactFlag;
- GetContactBasicInfoW(hContact, &dwID, &dwGroupID, &dwContactFlag, NULL, NULL, &szEmail, &wszNick, &szPhones);
+ if (hContact)
+ GetContactBasicInfoW(hContact, &dwID, &dwGroupID, &dwContactFlag, NULL, NULL, &szEmail, &wszNick, &szPhones);
+ else
+ dwID = dwGroupID = dwContactFlag = 0;
if (pdwID) dwID = *pdwID;
if (pszEmail) szEmail = *pszEmail;
|