diff options
Diffstat (limited to 'src/rps/gnunet-service-rps.c')
-rw-r--r-- | src/rps/gnunet-service-rps.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rps/gnunet-service-rps.c b/src/rps/gnunet-service-rps.c index 58fbd6a18..ecbc8e208 100644 --- a/src/rps/gnunet-service-rps.c +++ b/src/rps/gnunet-service-rps.c | |||
@@ -2926,7 +2926,7 @@ new_sub (const struct GNUNET_HashCode *hash, | |||
2926 | char str_hash[105]; | 2926 | char str_hash[105]; |
2927 | 2927 | ||
2928 | GNUNET_snprintf (str_hash, | 2928 | GNUNET_snprintf (str_hash, |
2929 | sizeof(str_hash), | 2929 | sizeof(str_hash), "%s", |
2930 | GNUNET_h2s_full (hash)); | 2930 | GNUNET_h2s_full (hash)); |
2931 | tmp_filename_valid_peers = sub->filename_valid_peers; | 2931 | tmp_filename_valid_peers = sub->filename_valid_peers; |
2932 | GNUNET_asprintf (&sub->filename_valid_peers, | 2932 | GNUNET_asprintf (&sub->filename_valid_peers, |
@@ -3017,7 +3017,7 @@ write_histogram_to_file (const uint32_t hist_array[], | |||
3017 | LOG (GNUNET_ERROR_TYPE_DEBUG, | 3017 | LOG (GNUNET_ERROR_TYPE_DEBUG, |
3018 | "Writing push stats to disk\n"); | 3018 | "Writing push stats to disk\n"); |
3019 | to_file_w_len (file_name_full, | 3019 | to_file_w_len (file_name_full, |
3020 | SIZE_DUMP_FILE, | 3020 | SIZE_DUMP_FILE, "%s", |
3021 | collect_str); | 3021 | collect_str); |
3022 | GNUNET_free (file_name_full); | 3022 | GNUNET_free (file_name_full); |
3023 | } | 3023 | } |