diff options
Diffstat (limited to 'src/rps')
-rw-r--r-- | src/rps/gnunet-rps-profiler.c | 6 | ||||
-rw-r--r-- | src/rps/test_rps.c | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/rps/gnunet-rps-profiler.c b/src/rps/gnunet-rps-profiler.c index af43a0fa1..08d1d2d34 100644 --- a/src/rps/gnunet-rps-profiler.c +++ b/src/rps/gnunet-rps-profiler.c | |||
@@ -924,10 +924,10 @@ tofile_ (const char *file_name, const char *line) | |||
924 | int size; \ | 924 | int size; \ |
925 | size = GNUNET_snprintf (tmp_buf, sizeof(tmp_buf), __VA_ARGS__); \ | 925 | size = GNUNET_snprintf (tmp_buf, sizeof(tmp_buf), __VA_ARGS__); \ |
926 | if (0 > size) \ | 926 | if (0 > size) \ |
927 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, \ | 927 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, \ |
928 | "Failed to create tmp_buf\n"); \ | 928 | "Failed to create tmp_buf\n"); \ |
929 | else \ | 929 | else \ |
930 | tofile_ (file_name, tmp_buf); \ | 930 | tofile_ (file_name, tmp_buf); \ |
931 | } while (0); | 931 | } while (0); |
932 | 932 | ||
933 | 933 | ||
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 | ||