summaryrefslogtreecommitdiff
path: root/protocols/Xfire/src/xfireparse.cpp
diff options
context:
space:
mode:
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;