summaryrefslogtreecommitdiff
path: root/protocols/AimOscar/src/flap.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-11-28 17:38:49 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-11-28 17:38:49 +0000
commit5e9e63c45e37917ffb0acd83832d0d8f99d01883 (patch)
tree1b674b85b1f582a13bd2a57ec73377b8989141bc /protocols/AimOscar/src/flap.cpp
parent7105dcf75bdd939ca52ba045bc29c536c3f7ba49 (diff)
new macroses for MS_PROTO_CHAINRECV: ProtoChainRecv, ProtoChainRecvMsg & ProtoChainRecvFile
git-svn-id: http://svn.miranda-ng.org/main/trunk@2540 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/AimOscar/src/flap.cpp')
-rw-r--r--protocols/AimOscar/src/flap.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/AimOscar/src/flap.cpp b/protocols/AimOscar/src/flap.cpp
index f652aff710..8b9e08b372 100644
--- a/protocols/AimOscar/src/flap.cpp
+++ b/protocols/AimOscar/src/flap.cpp
@@ -21,14 +21,14 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
FLAP::FLAP(char* buf,int num_bytes)
{
- if(FLAP_SIZE>num_bytes)
+ if (FLAP_SIZE>num_bytes)
{
length_=0;
}
else
{
length_=_htons((*(unsigned short*)&buf[4]));
- if(FLAP_SIZE+length_>num_bytes)
+ if (FLAP_SIZE+length_>num_bytes)
{
length_=0;
}
@@ -49,7 +49,7 @@ unsigned short FLAP::snaclen()
}
int FLAP::cmp(unsigned short type)
{
- if(type_==type)
+ if (type_==type)
return 1;
else
return 0;