summaryrefslogtreecommitdiff
path: root/protocols/Xfire/src/xfireparse.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-01-02 11:42:34 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-01-02 11:42:34 +0000
commit517284b80db96b58ea68d7ba974345dc5a2236bb (patch)
tree4f179d2c825378aefced9008bd06857de1486db6 /protocols/Xfire/src/xfireparse.cpp
parentc0d3c16aab5f5f52ede1f49ffeeafce98e3d073d (diff)
fix for extra icons in XFire
git-svn-id: http://svn.miranda-ng.org/main/trunk@7453 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Xfire/src/xfireparse.cpp')
-rw-r--r--protocols/Xfire/src/xfireparse.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Xfire/src/xfireparse.cpp b/protocols/Xfire/src/xfireparse.cpp
index e286e14df0..4f872f4401 100644
--- a/protocols/Xfire/src/xfireparse.cpp
+++ b/protocols/Xfire/src/xfireparse.cpp
@@ -36,10 +36,10 @@ int length_index = findString2(packet,attr, packet_length,strlen(attr),start)+at
unsigned int length = xfire_hex_to_intC(packet[length_index]);
- if(max_length >= length){
+ if (max_length >= length){
memcpy(value,packet+length_index+2,length);
}
- if(max_length > length){
+ if (max_length > length){
memset(value+length,0,1);
}
return length_index+2+length;