diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2013-03-01 20:08:33 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2013-03-01 20:08:33 +0000 |
commit | be6c3121411e55055383900f45d17a1ef887ccdd (patch) | |
tree | d23a75b5a3b474b1cfac276c5352a2865dd70139 /protocols/IcqOscarJ/src | |
parent | 96ef20c9ca88afd85ed032e0a0360aaebdb5bb60 (diff) |
Fix for crash of ICQ plugin due server group list was not obtained (patch by ryo-oh-ki)
git-svn-id: http://svn.miranda-ng.org/main/trunk@3823 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/IcqOscarJ/src')
-rw-r--r-- | protocols/IcqOscarJ/src/fam_13servclist.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/IcqOscarJ/src/fam_13servclist.cpp b/protocols/IcqOscarJ/src/fam_13servclist.cpp index c41a68c3f1..05878accb7 100644 --- a/protocols/IcqOscarJ/src/fam_13servclist.cpp +++ b/protocols/IcqOscarJ/src/fam_13servclist.cpp @@ -956,7 +956,7 @@ void CIcqProto::handleServerCListReply(BYTE *buf, WORD wLen, WORD wFlags, server }
if (strcmpnull(szActiveSrvGroup, szLocalGroup) &&
- (strlennull(szActiveSrvGroup) >= strlennull(szLocalGroup) || _strnicmp(szActiveSrvGroup, szLocalGroup, strlennull(szLocalGroup))))
+ (strlennull(szActiveSrvGroup) >= strlennull(szLocalGroup) || (szActiveSrvGroup && _strnicmp(szActiveSrvGroup, szLocalGroup, strlennull(szLocalGroup)))))
{ // contact moved to new group or sub-group or not to master group
bRegroup = 1;
}
|