aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmdsserver
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-08-25 09:54:13 +0200
committerMattias Andrée <maandree@operamail.com>2014-08-25 09:54:13 +0200
commitbeb1e97bee18bad1ed89792fddbe00ca3d66aedb (patch)
treee7c378e249097ab2ecb256566ab95860849c0340 /src/libmdsserver
parentm doc (diff)
downloadmds-beb1e97bee18bad1ed89792fddbe00ca3d66aedb.tar.gz
mds-beb1e97bee18bad1ed89792fddbe00ca3d66aedb.tar.bz2
mds-beb1e97bee18bad1ed89792fddbe00ca3d66aedb.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/libmdsserver')
-rw-r--r--src/libmdsserver/macros.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libmdsserver/macros.h b/src/libmdsserver/macros.h
index 20d277b..b340a64 100644
--- a/src/libmdsserver/macros.h
+++ b/src/libmdsserver/macros.h
@@ -193,7 +193,7 @@
* @return variable: The new value of the element
*/
#define buf_set_next(buffer, type, variable) \
- buf_set(buffer, type, 0, variable); \
+ buf_set(buffer, type, 0, variable), \
buf_next(buffer, type, 1)
@@ -207,7 +207,7 @@
* @return variable: The value of the element
*/
#define buf_get_next(buffer, type, variable) \
- buf_get(buffer, type, 0, variable); \
+ buf_get(buffer, type, 0, variable), \
buf_next(buffer, type, 1)