summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-11-14 22:29:38 +0100
committerChristian Grothoff <christian@grothoff.org>2020-11-14 22:29:38 +0100
commitf37298e66e1eee3c610d6966d41faa5c39cb2b4c (patch)
tree6a0e72b423c2f7783f5fe54092f11d7bc3044827
parenta940a11add69f86f09033da6dbb540d5e630af65 (diff)
parentea18ebde8266b4699735fff6deb14539a4f549de (diff)
Merge branch 'master' of git+ssh://gnunet.org/gnunet
-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,
char str_hash[105];
GNUNET_snprintf (str_hash,
- sizeof(str_hash),
+ sizeof(str_hash), "%s",
GNUNET_h2s_full (hash));
tmp_filename_valid_peers = sub->filename_valid_peers;
GNUNET_asprintf (&sub->filename_valid_peers,
@@ -3017,7 +3017,7 @@ write_histogram_to_file (const uint32_t hist_array[],
LOG (GNUNET_ERROR_TYPE_DEBUG,
"Writing push stats to disk\n");
to_file_w_len (file_name_full,
- SIZE_DUMP_FILE,
+ SIZE_DUMP_FILE, "%s",
collect_str);
GNUNET_free (file_name_full);
}