gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnunet] branch master updated: RPS util: Break instead of


From: gnunet
Subject: [GNUnet-SVN] [gnunet] branch master updated: RPS util: Break instead of return in macro
Date: Mon, 18 Mar 2019 00:52:37 +0100

This is an automated email from the git hooks/post-receive script.

julius-buenger pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new 99d24dfe7 RPS util: Break instead of return in macro
99d24dfe7 is described below

commit 99d24dfe7aaa1f52f370de7963614af70d3a5af9
Author: Julius Bünger <address@hidden>
AuthorDate: Mon Mar 18 00:51:08 2019 +0100

    RPS util: Break instead of return in macro
---
 src/rps/rps-test_util.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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,\

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]