diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-07-18 00:44:39 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-07-18 00:44:39 +0200 |
commit | 7f4ddbcab8598e3d5e29c23ce883cdfa664408f1 (patch) | |
tree | 5f1b18463f641f24fad519e0aefb60b97d707b52 /src/rps/test_rps.c | |
parent | 28ab2c446fba4980a8295d59fdf203a028a35dd6 (diff) | |
download | gnunet-7f4ddbcab8598e3d5e29c23ce883cdfa664408f1.tar.gz gnunet-7f4ddbcab8598e3d5e29c23ce883cdfa664408f1.zip |
merge flags into enum for GNUNET_DISK_pipe() API, fixing #6188
Diffstat (limited to 'src/rps/test_rps.c')
-rw-r--r-- | src/rps/test_rps.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rps/test_rps.c b/src/rps/test_rps.c index 81cf63c72..a7dc3aa00 100644 --- a/src/rps/test_rps.c +++ b/src/rps/test_rps.c | |||
@@ -656,10 +656,10 @@ tofile_ (const char *file_name, const char *line) | |||
656 | int size; \ | 656 | int size; \ |
657 | size = GNUNET_snprintf (tmp_buf, sizeof(tmp_buf), __VA_ARGS__); \ | 657 | size = GNUNET_snprintf (tmp_buf, sizeof(tmp_buf), __VA_ARGS__); \ |
658 | if (0 > size) \ | 658 | if (0 > size) \ |
659 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, \ | 659 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, \ |
660 | "Failed to create tmp_buf\n"); \ | 660 | "Failed to create tmp_buf\n"); \ |
661 | else \ | 661 | else \ |
662 | tofile_ (file_name, tmp_buf); \ | 662 | tofile_ (file_name, tmp_buf); \ |
663 | } while (0); | 663 | } while (0); |
664 | 664 | ||
665 | 665 | ||