diff options
author | Jay Sorg <jay.sorg@gmail.com> | 2013-07-19 11:10:55 -0700 |
---|---|---|
committer | Jay Sorg <jay.sorg@gmail.com> | 2013-07-19 11:10:55 -0700 |
commit | fad70062d6b158f253b95968bc4f01361210f79e (patch) | |
tree | 0b1c5d1bd3f1e9cd1cd68464cd5e80954cf161a3 | |
parent | 89daffaaef626c82f0a7822b1679d0703990667b (diff) | |
download | xrdp-proprietary-fad70062d6b158f253b95968bc4f01361210f79e.tar.gz xrdp-proprietary-fad70062d6b158f253b95968bc4f01361210f79e.zip |
common: no logic change
-rw-r--r-- | common/parse.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/common/parse.h b/common/parse.h index 3d6a5058..226e246b 100644 --- a/common/parse.h +++ b/common/parse.h @@ -338,7 +338,7 @@ do \ #define xstream_wr_s16_le(_s, _var) TODO #define xstream_wr_s32_le(_s, _var) TODO -#define xstream_rd_u64_le(_s, _v) \ +#define xstream_rd_u64_le(_s, _v) \ do \ { \ _v = \ @@ -353,7 +353,7 @@ do \ _s->p += 8; \ } while (0) -#define xstream_wr_u64_le(_s, _v) \ +#define xstream_wr_u64_le(_s, _v) \ do \ { \ *(((unsigned char *) _s->p) + 0) = (unsigned char) ((_v >> 0) & 0xff); \ @@ -384,16 +384,16 @@ do \ } while (0) #define xstream_rd_string(_dest, _s, _len) \ -do \ -{ \ - g_memcpy((_dest), (_s)->p, (_len)); \ - (_s)->p += (_len); \ +do \ +{ \ + g_memcpy((_dest), (_s)->p, (_len)); \ + (_s)->p += (_len); \ } while (0) -#define xstream_wr_string(_s, _src, _len) \ +#define xstream_wr_string(_s, _src, _len) \ do \ { \ - g_memcpy((_s)->p, (_src), (_len)); \ + g_memcpy((_s)->p, (_src), (_len)); \ (_s)->p += (_len); \ } while (0) |