From fe75aa51cd8c5acfa66d9506e5acc44f5630b753 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Tue, 9 Dec 2014 04:16:41 +0100 Subject: make exit_if easier on the syntax 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libmdsserver') diff --git a/src/libmdsserver/macros.h b/src/libmdsserver/macros.h index 5329298..10ae2af 100644 --- a/src/libmdsserver/macros.h +++ b/src/libmdsserver/macros.h @@ -400,7 +400,7 @@ * @param condition The condition * @param instructions The instruction (semicolon-terminated) */ -#define exit_if(condition, instructions) if (condition) do { instructions return 1; } while (0) +#define exit_if(condition, instructions) do { if (condition) { instructions return 1; } } while (0) /** -- cgit v1.2.3-70-g09d2