diff options
author | Robert Pösel <robyer@seznam.cz> | 2012-11-05 22:28:33 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2012-11-05 22:28:33 +0000 |
commit | bc16a1ba286b8a8c7b54cdc198c577f43150f06d (patch) | |
tree | 5a0d79c5db1ca3022733f07aa490bd08724e4b85 /protocols/Xfire | |
parent | 048aaf0c4e77402adf584e3318e5aae6f1cdd749 (diff) |
XFire: Fixed crash on login (someone should properly fix all that folders related things)
git-svn-id: http://svn.miranda-ng.org/main/trunk@2213 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Xfire')
-rw-r--r-- | protocols/Xfire/src/processbuddyinfo.cpp | 6 |
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) {
|