summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--protocols/SkypeWeb/src/skype_avatars.cpp4
-rw-r--r--protocols/SkypeWeb/src/skype_proto.h4
2 files changed, 3 insertions, 5 deletions
diff --git a/protocols/SkypeWeb/src/skype_avatars.cpp b/protocols/SkypeWeb/src/skype_avatars.cpp
index b6b486c2ab..a62d936abf 100644
--- a/protocols/SkypeWeb/src/skype_avatars.cpp
+++ b/protocols/SkypeWeb/src/skype_avatars.cpp
@@ -179,7 +179,7 @@ INT_PTR CSkypeProto::SvcSetMyAvatar(WPARAM wParam, LPARAM lParam)
if (read != length)
{
fclose(hFile);
- debugLogA("CToxProto::SetToxAvatar: failed to read avatar file");
+ debugLogA("CSkypeProto::SvcSetMyAvatar: failed to read avatar file");
return -1;
}
fclose(hFile);
@@ -195,8 +195,6 @@ INT_PTR CSkypeProto::SvcSetMyAvatar(WPARAM wParam, LPARAM lParam)
{
DeleteFile(avatarPath);
}
-
- //db_unset(NULL, m_szModuleName, TOX_SETTINGS_AVATAR_HASH);
}
return 0;
diff --git a/protocols/SkypeWeb/src/skype_proto.h b/protocols/SkypeWeb/src/skype_proto.h
index 7f06d05385..5c45aa1840 100644
--- a/protocols/SkypeWeb/src/skype_proto.h
+++ b/protocols/SkypeWeb/src/skype_proto.h
@@ -201,7 +201,7 @@ private:
int OnSendMessage(MCONTACT hContact, int flags, const char *message);
void OnMessageSent(const NETLIBHTTPREQUEST *response, void *arg);
- int OnPreCreateMessage(WPARAM, LPARAM lParam);
+ int __cdecl OnPreCreateMessage(WPARAM, LPARAM lParam);
void OnGetServerHistory(const NETLIBHTTPREQUEST *response);
@@ -212,7 +212,7 @@ private:
//polling
void ParsePollData(JSONNODE *data);
- void PollingThread(void*);
+ void __cdecl PollingThread(void*);
void ProcessEndpointPresenceRes(JSONNODE *node);
void ProcessUserPresenceRes(JSONNODE *node);
void ProcessNewMessageRes(JSONNODE *node);