projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d0035b
)
RPS util: Break instead of return in macro
author
Julius Bünger
<buenger@mytum.de>
Sun, 17 Mar 2019 23:51:08 +0000
(
00:51
+0100)
committer
Julius Bünger
<buenger@mytum.de>
Sun, 17 Mar 2019 23:51:08 +0000
(
00:51
+0100)
src/rps/rps-test_util.h
patch
|
blob
|
history
diff --git
a/src/rps/rps-test_util.h
b/src/rps/rps-test_util.h
index ace833034a5baf9073d996761e1a4e9ef985e9dc..5009073d07fadcc901d8daec9f8db8e4fb715f57 100644
(file)
--- 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,\