summaryrefslogtreecommitdiff
path: root/protocols/Yahoo/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-06-01 18:10:32 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-06-01 18:10:32 +0000
commit2bb514f4195c99b52e0ec748c975c0fd30dbbd25 (patch)
treee7325f314a828e1233b89ef688e6e52a8846925a /protocols/Yahoo/src
parenta59538975c7fef04bcbf9e62b81c78753ac2a16c (diff)
another bunch of dead crutches: non-unicode avatar services
git-svn-id: http://svn.miranda-ng.org/main/trunk@13961 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Yahoo/src')
-rw-r--r--protocols/Yahoo/src/avatar.cpp5
-rw-r--r--protocols/Yahoo/src/services.cpp6
2 files changed, 5 insertions, 6 deletions
diff --git a/protocols/Yahoo/src/avatar.cpp b/protocols/Yahoo/src/avatar.cpp
index 5b35f6b3d9..3290fefc69 100644
--- a/protocols/Yahoo/src/avatar.cpp
+++ b/protocols/Yahoo/src/avatar.cpp
@@ -242,8 +242,7 @@ void __cdecl CYahooProto::recv_avatarthread(void *pavt)
free(avt->pic_url);
free(avt);
- PROTO_AVATAR_INFORMATIONT AI;
- AI.cbSize = sizeof AI;
+ PROTO_AVATAR_INFORMATION AI;
AI.format = PA_FORMAT_PNG;
AI.hContact = hContact;
_tcsncpy(AI.filename, buf, SIZEOF(AI.filename)-1);
@@ -618,7 +617,7 @@ void CYahooProto::GetAvatarFileName(MCONTACT hContact, TCHAR* pszDest, int cbLen
INT_PTR __cdecl CYahooProto::GetAvatarInfo(WPARAM wParam,LPARAM lParam)
{
- PROTO_AVATAR_INFORMATIONT* AI = ( PROTO_AVATAR_INFORMATIONT* )lParam;
+ PROTO_AVATAR_INFORMATION* AI = ( PROTO_AVATAR_INFORMATION* )lParam;
DBVARIANT dbv;
int avtType;
diff --git a/protocols/Yahoo/src/services.cpp b/protocols/Yahoo/src/services.cpp
index 196ac65c1e..b6417f83d6 100644
--- a/protocols/Yahoo/src/services.cpp
+++ b/protocols/Yahoo/src/services.cpp
@@ -508,9 +508,9 @@ void CYahooProto::LoadYahooServices( void )
//----| Service creation |------------------------------------------------------------
CreateProtoService(PS_CREATEACCMGRUI, &CYahooProto::SvcCreateAccMgrUI);
- CreateProtoService(PS_GETAVATARINFOT, &CYahooProto::GetAvatarInfo);
- CreateProtoService(PS_GETMYAVATART, &CYahooProto::GetMyAvatar);
- CreateProtoService(PS_SETMYAVATART, &CYahooProto::SetMyAvatar);
+ CreateProtoService(PS_GETAVATARINFO, &CYahooProto::GetAvatarInfo);
+ CreateProtoService(PS_GETMYAVATAR, &CYahooProto::GetMyAvatar);
+ CreateProtoService(PS_SETMYAVATAR, &CYahooProto::SetMyAvatar);
CreateProtoService(PS_GETAVATARCAPS, &CYahooProto::GetAvatarCaps);
CreateProtoService(PS_GETMYAWAYMSG, &CYahooProto::GetMyAwayMsg);