aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulius Bünger <buenger@mytum.de>2019-03-18 00:51:08 +0100
committerJulius Bünger <buenger@mytum.de>2019-03-18 00:51:08 +0100
commit99d24dfe7aaa1f52f370de7963614af70d3a5af9 (patch)
tree6bb39d157ef16fddb399799b3b7f0733ba8be37e
parent9d0035b23fea7789f47778c8424047e609f59834 (diff)
downloadgnunet-99d24dfe7aaa1f52f370de7963614af70d3a5af9.tar.gz
gnunet-99d24dfe7aaa1f52f370de7963614af70d3a5af9.zip
RPS util: Break instead of return in macro
-rw-r--r--src/rps/rps-test_util.h2
1 files changed, 1 insertions, 1 deletions
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 ();
65#define to_file(file_name, ...) do { \ 65#define to_file(file_name, ...) do { \
66 char tmp_buf[512] = "";\ 66 char tmp_buf[512] = "";\
67 int size;\ 67 int size;\
68 if (NULL == file_name) return; \ 68 if (NULL == file_name) break; \
69 size = GNUNET_snprintf(tmp_buf,sizeof(tmp_buf),__VA_ARGS__);\ 69 size = GNUNET_snprintf(tmp_buf,sizeof(tmp_buf),__VA_ARGS__);\
70 if (0 > size)\ 70 if (0 > size)\
71 GNUNET_log (GNUNET_ERROR_TYPE_WARNING,\ 71 GNUNET_log (GNUNET_ERROR_TYPE_WARNING,\