From 5e9e63c45e37917ffb0acd83832d0d8f99d01883 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 28 Nov 2012 17:38:49 +0000 Subject: 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 --- protocols/AimOscar/src/flap.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'protocols/AimOscar/src/flap.cpp') 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 . 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; -- cgit v1.2.3