diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2014-11-18 19:09:32 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2014-11-18 19:09:32 +0000 |
commit | f5220435e21a209d91116819bf0305ed79b29116 (patch) | |
tree | 551967e00cc073425d88df668f64316d438b0016 /protocols | |
parent | 60a33e845999d81bb9325ad5fa7ed2bd01c99704 (diff) |
SkypeClassic
-Minor cleanup
git-svn-id: http://svn.miranda-ng.org/main/trunk@11016 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/SkypeClassic/src/gchat.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/SkypeClassic/src/gchat.cpp b/protocols/SkypeClassic/src/gchat.cpp index 444256b582..a36884bc11 100644 --- a/protocols/SkypeClassic/src/gchat.cpp +++ b/protocols/SkypeClassic/src/gchat.cpp @@ -205,7 +205,7 @@ int __cdecl AddMembers(char *szSkypeMsg) { BYTE *contactmask=NULL;
DBVARIANT dbv2;
CONTACTINFO ci={0};
- char *ptr, *who, *nextoken;
+ char *who, *nextoken;
int i, iRet = 0;
gchat_contacts *gc;
@@ -231,10 +231,10 @@ int __cdecl AddMembers(char *szSkypeMsg) { }
if (!(who = SkypeGet ("CHATMEMBER", token, "IDENTITY"))) continue;
if (strcmp(who, dbv2.pszVal)) {
- char *pszRole;
TCHAR *ptszRole = NULL;
- if (pszRole = SkypeGet ("CHATMEMBER", token, "ROLE"))
+ char *pszRole = SkypeGet("CHATMEMBER", token, "ROLE");
+ if (pszRole)
ptszRole = make_nonutf_tchar_string((const unsigned char*)pszRole);
i=AddChatContact(gc, who, ptszRole);
|