diff options
author | George Hazan <george.hazan@gmail.com> | 2014-01-02 11:42:34 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-01-02 11:42:34 +0000 |
commit | 517284b80db96b58ea68d7ba974345dc5a2236bb (patch) | |
tree | 4f179d2c825378aefced9008bd06857de1486db6 /protocols/Xfire/src/messagepacket.cpp | |
parent | c0d3c16aab5f5f52ede1f49ffeeafce98e3d073d (diff) |
fix for extra icons in XFire
git-svn-id: http://svn.miranda-ng.org/main/trunk@7453 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Xfire/src/messagepacket.cpp')
-rw-r--r-- | protocols/Xfire/src/messagepacket.cpp | 6 |
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; |