aboutsummaryrefslogtreecommitdiff
path: root/src/rps/rps-test_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/rps/rps-test_util.h')
-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 484d0f7da..78d1e0a26 100644
--- a/src/rps/rps-test_util.h
+++ b/src/rps/rps-test_util.h
@@ -64,7 +64,7 @@ close_all_files ();
64 * This function is used to facilitate writing important information to disk 64 * This function is used to facilitate writing important information to disk
65 */ 65 */
66#ifdef TO_FILE 66#ifdef TO_FILE
67#define to_file(file_name, ...) do {GNUNET_assert (NULL != file_name);\ 67#define to_file(file_name, ...) do { if (NULL == file_name) { GNUNET_break(0); return;} \
68 char tmp_buf[512] = "";\ 68 char tmp_buf[512] = "";\
69 int size;\ 69 int size;\
70 size = GNUNET_snprintf(tmp_buf,sizeof(tmp_buf),__VA_ARGS__);\ 70 size = GNUNET_snprintf(tmp_buf,sizeof(tmp_buf),__VA_ARGS__);\