From 99d24dfe7aaa1f52f370de7963614af70d3a5af9 Mon Sep 17 00:00:00 2001 From: Julius Bünger Date: Mon, 18 Mar 2019 00:51:08 +0100 Subject: RPS util: Break instead of return in macro --- src/rps/rps-test_util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/rps/rps-test_util.h') diff --git a/src/rps/rps-test_util.h b/src/rps/rps-test_util.h index ace833034..5009073d0 100644 --- a/src/rps/rps-test_util.h +++ b/src/rps/rps-test_util.h @@ -65,7 +65,7 @@ close_all_files (); #define to_file(file_name, ...) do { \ char tmp_buf[512] = "";\ int size;\ - if (NULL == file_name) return; \ + if (NULL == file_name) break; \ size = GNUNET_snprintf(tmp_buf,sizeof(tmp_buf),__VA_ARGS__);\ if (0 > size)\ GNUNET_log (GNUNET_ERROR_TYPE_WARNING,\ -- cgit v1.2.3