diff options
Diffstat (limited to 'protocols/AimOscar/src/flap.cpp')
-rw-r--r-- | protocols/AimOscar/src/flap.cpp | 6 |
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;
|