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/packetreader.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/packetreader.cpp')
-rw-r--r-- | protocols/Xfire/src/packetreader.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/Xfire/src/packetreader.cpp b/protocols/Xfire/src/packetreader.cpp index 54ad9d1e23..a1b18590e1 100644 --- a/protocols/Xfire/src/packetreader.cpp +++ b/protocols/Xfire/src/packetreader.cpp @@ -128,10 +128,10 @@ namespace xfirelib { //int b = socket->recv(str); XFirePacket *packet = new XFirePacket(this); XDEBUG(("Waiting for next packet... \n")); - if(packet==NULL) continue; + if (packet==NULL) continue; packet->recvPacket( socket ); XINFO(("Received packet\n")); - if(packet->getContent() != NULL) { + if (packet->getContent() != NULL) { fireListeners( packet ); } else { XDEBUG(("Packet Content was NULL ... Unknown Packet Id ??\n")); @@ -152,7 +152,7 @@ namespace xfirelib { XFirePacketContent *PacketReader::getPacketContentClass(int packetId) { XDEBUG(("Searching for a content class...\n")); for(uint i = 0 ; i < packets->size() ; i++) - if(packets->at(i)->getPacketId() == packetId) return packets->at(i); + if (packets->at(i)->getPacketId() == packetId) return packets->at(i); XDEBUG(("None Found\n")); return NULL; } |