summaryrefslogtreecommitdiff
path: root/protocols/Yahoo/src
diff options
context:
space:
mode:
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);