aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2020-11-14 19:02:01 +0000
committerDaniel Golle <daniel@makrotopia.org>2020-11-14 19:55:40 +0000
commitea18ebde8266b4699735fff6deb14539a4f549de (patch)
tree814b491cce8f2489d4fa8fc333d467a288ff9e59
parent395cea2596aa14e88a97e665c860afdc67a4862a (diff)
downloadgnunet-ea18ebde8266b4699735fff6deb14539a4f549de.tar.gz
gnunet-ea18ebde8266b4699735fff6deb14539a4f549de.zip
rps: fix format not a string literal and no format arguments
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
-rw-r--r--src/rps/gnunet-service-rps.c4
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}