summaryrefslogtreecommitdiff
path: root/protocols/Xfire/src/processbuddyinfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Xfire/src/processbuddyinfo.cpp')
-rw-r--r--protocols/Xfire/src/processbuddyinfo.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/Xfire/src/processbuddyinfo.cpp b/protocols/Xfire/src/processbuddyinfo.cpp
index e5e6fb6af7..f02f50142b 100644
--- a/protocols/Xfire/src/processbuddyinfo.cpp
+++ b/protocols/Xfire/src/processbuddyinfo.cpp
@@ -28,8 +28,8 @@ extern HANDLE XFireAvatarFolder;
}*/
void ProcessBuddyInfo(xfirelib::BuddyInfoPacket *buddyinfo,HANDLE hcontact,char* username) {
- char temp[512]="";
- char filename[512];
+ char temp[255]="";
+ char filename[255];
BOOL dl=FALSE;
int type;
@@ -50,7 +50,7 @@ void ProcessBuddyInfo(xfirelib::BuddyInfoPacket *buddyinfo,HANDLE hcontact,char*
DBDeleteContactSetting(NULL,protocolname, "MyAvatarFile");
}
- FoldersGetCustomPath( XFireAvatarFolder, filename, 1024, "" );
+ FoldersGetCustomPath( XFireAvatarFolder, filename, 255, "" );
strcat(filename,"\\");
switch(buddyinfo->avatarmode) {