diff options
author | George Hazan <george.hazan@gmail.com> | 2015-08-11 13:33:42 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-08-11 13:33:42 +0000 |
commit | 85bd008c039eb1d93894e94fba9d158a42a71a12 (patch) | |
tree | 2d72d10759f6928e9e4b960175d2de01b5cf7e12 /protocols/Xfire/src/recvremovebuddypacket.cpp | |
parent | 222802c2986dcaf029fdfb828b7679bdabfa7bb2 (diff) |
massive code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@14910 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Xfire/src/recvremovebuddypacket.cpp')
-rw-r--r-- | protocols/Xfire/src/recvremovebuddypacket.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/protocols/Xfire/src/recvremovebuddypacket.cpp b/protocols/Xfire/src/recvremovebuddypacket.cpp index 1e9b14d939..7b345b21cb 100644 --- a/protocols/Xfire/src/recvremovebuddypacket.cpp +++ b/protocols/Xfire/src/recvremovebuddypacket.cpp @@ -25,15 +25,15 @@ #include "recvremovebuddypacket.h" #include "variablevalue.h" -namespace xfirelib { - - void RecvRemoveBuddyPacket::parseContent(char *buf, int length, int numberOfAtts) { - VariableValue val; - int index = 0; - index += val.readName(buf,index); - index ++; // Ignore 02 ?? - index += val.readValue(buf,index,4); - userid = val.getValueAsLong(); - } - +namespace xfirelib +{ + void RecvRemoveBuddyPacket::parseContent(char *buf, int, int) + { + VariableValue val; + int index = 0; + index += val.readName(buf, index); + index++; // Ignore 02 ?? + index += val.readValue(buf, index, 4); + userid = val.getValueAsLong(); + } }; |