aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmdsserver
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/libmdsserver/macros.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libmdsserver/macros.h b/src/libmdsserver/macros.h
index f82c01d..5329298 100644
--- a/src/libmdsserver/macros.h
+++ b/src/libmdsserver/macros.h
@@ -384,14 +384,14 @@
* @param ... The condition
*/
#define fail_if(...) \
- if (__VA_ARGS__) \
- do \
+ do \
+ if (__VA_ARGS__) \
{ \
if ((errno != EMSGSIZE) && (errno != ECONNRESET) && (errno != EINTR)) \
fprintf(stderr, "failure at %s:%i\n", __FILE__, __LINE__); \
- goto fail; \
+ goto fail; \
} \
- while (0)
+ while (0)
/**