summaryrefslogtreecommitdiff
path: root/protocols/Xfire/src/messagepacket.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Xfire/src/messagepacket.cpp')
-rw-r--r--protocols/Xfire/src/messagepacket.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/Xfire/src/messagepacket.cpp b/protocols/Xfire/src/messagepacket.cpp
index 61617bc541..e3f4b2b445 100644
--- a/protocols/Xfire/src/messagepacket.cpp
+++ b/protocols/Xfire/src/messagepacket.cpp
@@ -63,7 +63,7 @@ int MessagePacket::getPacketContent(char *packet){
index++;
index += msgtype->readValue(buf,index,4);
- if(msgtype->getValue()[0] == 0){
+ if (msgtype->getValue()[0] == 0){
imindex = new VariableValue();
index += imindex->readName(buf,index);
@@ -80,9 +80,9 @@ int MessagePacket::getPacketContent(char *packet){
message += messageTemp.getValue()[i];
}
/*TODO: implement this and answer the package*/
- }else if(msgtype->getValue()[0] == 1){
+ }else if (msgtype->getValue()[0] == 1){
cout << "got ack for a message we have sent" << endl;
- }else if(msgtype->getValue()[0] == 2){
+ }else if (msgtype->getValue()[0] == 2){
memcpy(this->buf,buf,150);
/*answer the packet*/
cout << "some auth magic stuff" << length << endl;