--- sourceforge.net/trunk/rdesktop/parse.h 2000/08/15 10:23:24 10 +++ sourceforge.net/trunk/rdesktop/parse.h 2002/09/26 14:26:46 207 @@ -1,7 +1,7 @@ /* rdesktop: A Remote Desktop Protocol client. Parsing primitives - Copyright (C) Matthew Chapman 1999-2000 + Copyright (C) Matthew Chapman 1999-2002 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -23,7 +23,7 @@ { unsigned char *p; unsigned char *end; - unsigned char *data; + unsigned char *data; unsigned int size; /* Offsets of various headers */ @@ -32,7 +32,8 @@ unsigned char *sec_hdr; unsigned char *rdp_hdr; -} *STREAM; +} + *STREAM; #define s_push_layer(s,h,n) { (s)->h = (s)->p; (s)->p += n; } #define s_pop_layer(s,h) (s)->p = (s)->h; @@ -65,7 +66,7 @@ #define in_uint16(s,v) in_uint16_be(s,v) #define in_uint32(s,v) in_uint32_be(s,v) #define out_uint16(s,v) out_uint16_be(s,v) -#define out_uint32(s,v) out_uint32_be(s,b) +#define out_uint32(s,v) out_uint32_be(s,v) #else #define next_be(s,v) v = ((v) << 8) + *((s)->p++);