RPS util: Break instead of return in macro
authorJulius Bünger <buenger@mytum.de>
Sun, 17 Mar 2019 23:51:08 +0000 (00:51 +0100)
committerJulius Bünger <buenger@mytum.de>
Sun, 17 Mar 2019 23:51:08 +0000 (00:51 +0100)
src/rps/rps-test_util.h

index ace833034a5baf9073d996761e1a4e9ef985e9dc..5009073d07fadcc901d8daec9f8db8e4fb715f57 100644 (file)
@@ -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,\