diff options
author | George Hazan <george.hazan@gmail.com> | 2013-10-11 14:01:25 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-10-11 14:01:25 +0000 |
commit | 773421e8ba17637d994088c393d406226b516a30 (patch) | |
tree | 130c0bf529e30f493ae4f2abbe1230d31fecdeed /protocols/Skype/src/skype_avatars.cpp | |
parent | 3fc8b6f686262e8a595fc10b2bd947526ca77bdc (diff) |
- m_hNetlibUser moved to PROTO_INTERFACE;
- unified protocol loggers
git-svn-id: http://svn.miranda-ng.org/main/trunk@6435 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Skype/src/skype_avatars.cpp')
-rw-r--r-- | protocols/Skype/src/skype_avatars.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/protocols/Skype/src/skype_avatars.cpp b/protocols/Skype/src/skype_avatars.cpp index 0c3be45a88..9ca9b0dddd 100644 --- a/protocols/Skype/src/skype_avatars.cpp +++ b/protocols/Skype/src/skype_avatars.cpp @@ -129,33 +129,33 @@ INT_PTR __cdecl CSkypeProto::SetMyAvatar(WPARAM, LPARAM lParam) ptrW avatarPath( this->GetContactAvatarFilePath(NULL));
if ( !::wcscmp(path, avatarPath))
{
- this->Log(L"New avatar path are same with old.");
+ this->debugLogW(L"New avatar path are same with old.");
return -1;
}
SEBinary avatar = this->GetAvatarBinary(path);
if (avatar.size() == 0)
{
- this->Log(L"Failed to read avatar file.");
+ this->debugLogW(L"Failed to read avatar file.");
return -1;
}
if (this->IsAvatarChanged(avatar))
{
- this->Log(L"New avatar are same with old.");
+ this->debugLogW(L"New avatar are same with old.");
return -1;
}
if ( !::CopyFile(path, avatarPath, FALSE))
{
- this->Log(L"Failed to copy new avatar to local storage.");
+ this->debugLogW(L"Failed to copy new avatar to local storage.");
return -1;
}
Skype::VALIDATERESULT result = Skype::NOT_VALIDATED;
if (!this->account->SetAvatar(avatar, result))
{
- this->Log(CSkypeProto::ValidationReasons[result]);
+ this->debugLogW(CSkypeProto::ValidationReasons[result]);
return -1;
}
|