diff options
Diffstat (limited to 'protocols/Xfire/src/sendremovebuddypacket.cpp')
-rw-r--r-- | protocols/Xfire/src/sendremovebuddypacket.cpp | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/protocols/Xfire/src/sendremovebuddypacket.cpp b/protocols/Xfire/src/sendremovebuddypacket.cpp index a49b3f38ed..dea08bbeb2 100644 --- a/protocols/Xfire/src/sendremovebuddypacket.cpp +++ b/protocols/Xfire/src/sendremovebuddypacket.cpp @@ -27,20 +27,20 @@ #include "variablevalue.h" #include "xdebug.h" -namespace xfirelib { - - int SendRemoveBuddyPacket::getPacketContent(char *buf) { - int index = 0; - VariableValue val; - val.setName("userid"); - XDEBUG2( "Creating packet to remove userid %ld\n", userid ); - index += val.writeName(buf,index); - val.setValueFromLong(userid,4); - buf[index++] = 2; - index += val.writeValue(buf,index); - - return index; - } - +namespace xfirelib +{ + int SendRemoveBuddyPacket::getPacketContent(char *buf) + { + int index = 0; + VariableValue val; + val.setName("userid"); + XDEBUG2("Creating packet to remove userid %ld\n", userid); + index += val.writeName(buf, index); + val.setValueFromLong(userid, 4); + buf[index++] = 2; + index += val.writeValue(buf, index); + + return index; + } }; |