diff options
Diffstat (limited to 'src/rps/gnunet-service-rps.c')
-rw-r--r-- | src/rps/gnunet-service-rps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rps/gnunet-service-rps.c b/src/rps/gnunet-service-rps.c index fe863c5f4..194a5669c 100644 --- a/src/rps/gnunet-service-rps.c +++ b/src/rps/gnunet-service-rps.c | |||
@@ -2848,7 +2848,7 @@ new_sub (const struct GNUNET_HashCode *hash, | |||
2848 | char str_hash[105]; | 2848 | char str_hash[105]; |
2849 | 2849 | ||
2850 | GNUNET_snprintf (str_hash, | 2850 | GNUNET_snprintf (str_hash, |
2851 | strlen (str_hash), | 2851 | sizeof (str_hash), |
2852 | GNUNET_h2s_full (hash)); | 2852 | GNUNET_h2s_full (hash)); |
2853 | tmp_filename_valid_peers = sub->filename_valid_peers; | 2853 | tmp_filename_valid_peers = sub->filename_valid_peers; |
2854 | GNUNET_asprintf (&sub->filename_valid_peers, | 2854 | GNUNET_asprintf (&sub->filename_valid_peers, |