summaryrefslogtreecommitdiffstats
path: root/lasso/utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'lasso/utils.h')
-rw-r--r--lasso/utils.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lasso/utils.h b/lasso/utils.h
index 8a18d4da..4143e3cb 100644
--- a/lasso/utils.h
+++ b/lasso/utils.h
@@ -460,10 +460,10 @@ lasso_is_empty_string(const char *str) {
*
*/
#define goto_cleanup_with_rc(rc_value) \
- {\
+ do {\
rc = (rc_value); \
goto cleanup; \
- }
+ } while(0);
/**
* goto_cleanup_if_fail: