From beb1e97bee18bad1ed89792fddbe00ca3d66aedb Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 25 Aug 2014 09:54:13 +0200 Subject: m MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/libmdsserver/macros.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libmdsserver') 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) -- cgit v1.2.3-70-g09d2