From 517284b80db96b58ea68d7ba974345dc5a2236bb Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 2 Jan 2014 11:42:34 +0000 Subject: fix for extra icons in XFire git-svn-id: http://svn.miranda-ng.org/main/trunk@7453 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Xfire/src/messagepacket.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'protocols/Xfire/src/messagepacket.cpp') 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; -- cgit v1.2.3