summaryrefslogtreecommitdiff
path: root/protocols/Xfire/src/authpacket.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-08-11 13:33:42 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-08-11 13:33:42 +0000
commit85bd008c039eb1d93894e94fba9d158a42a71a12 (patch)
tree2d72d10759f6928e9e4b960175d2de01b5cf7e12 /protocols/Xfire/src/authpacket.cpp
parent222802c2986dcaf029fdfb828b7679bdabfa7bb2 (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/authpacket.cpp')
-rw-r--r--protocols/Xfire/src/authpacket.cpp34
1 files changed, 19 insertions, 15 deletions
diff --git a/protocols/Xfire/src/authpacket.cpp b/protocols/Xfire/src/authpacket.cpp
index 9183fd1e48..19e618854d 100644
--- a/protocols/Xfire/src/authpacket.cpp
+++ b/protocols/Xfire/src/authpacket.cpp
@@ -26,22 +26,26 @@
#include "xfireparse.h"
#include "variablevalue.h"
-namespace xfirelib {
- using namespace std;
+namespace xfirelib
+{
+ using namespace std;
- AuthPacket::AuthPacket() : XFireRecvPacketContent() {
- salt = 0;
- }
- AuthPacket::~AuthPacket() {
- delete salt;
- }
+ AuthPacket::AuthPacket() : XFireRecvPacketContent()
+ {
+ salt = 0;
+ }
- void AuthPacket::parseContent(char *buf, int length, int numberOfAtts) {
-
- //XFireParse parse;
- salt = new VariableValue();
- //parse.readVariableValue(buf, 0, length, salt);
- salt->readVariableValue(buf, 0, length);
- }
+ AuthPacket::~AuthPacket()
+ {
+ delete salt;
+ }
+ void AuthPacket::parseContent(char *buf, int length, int)
+ {
+
+ //XFireParse parse;
+ salt = new VariableValue();
+ //parse.readVariableValue(buf, 0, length, salt);
+ salt->readVariableValue(buf, 0, length);
+ }
};