aboutsummaryrefslogtreecommitdiff
path: root/json-rpc-shell.c
diff options
context:
space:
mode:
Diffstat (limited to 'json-rpc-shell.c')
-rw-r--r--json-rpc-shell.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/json-rpc-shell.c b/json-rpc-shell.c
index 72e14a4..15eead2 100644
--- a/json-rpc-shell.c
+++ b/json-rpc-shell.c
@@ -67,11 +67,7 @@ enum
#include <term.h>
/// Shorthand to set an error and return failure from the function
-#define FAIL(...) \
- BLOCK_START \
- error_set (e, __VA_ARGS__); \
- return false; \
- BLOCK_END
+#define FAIL(...) return error_set (e, __VA_ARGS__)
// --- Terminal ----------------------------------------------------------------