diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-11-22 21:17:32 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-11-22 21:17:32 +0100 |
commit | 795ba5243bfcb595cd3b3066ae22f59c686c48bb (patch) | |
tree | 4fd2e951adbb986758c03239fd544359d4500acc /src/rps/gnunet-rps-profiler.c | |
parent | 72068a707bede6121cfa535ddcdfe74052259c0c (diff) | |
parent | d2e10ef670311dd88f9b86288fcbfbad0876f3cb (diff) | |
download | gnunet-795ba5243bfcb595cd3b3066ae22f59c686c48bb.tar.gz gnunet-795ba5243bfcb595cd3b3066ae22f59c686c48bb.zip |
Merge branch 'master' of git+ssh://gnunet.org/gnunet
Diffstat (limited to 'src/rps/gnunet-rps-profiler.c')
-rw-r--r-- | src/rps/gnunet-rps-profiler.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rps/gnunet-rps-profiler.c b/src/rps/gnunet-rps-profiler.c index 0ec2fec71..82aeffb79 100644 --- a/src/rps/gnunet-rps-profiler.c +++ b/src/rps/gnunet-rps-profiler.c | |||
@@ -2375,6 +2375,7 @@ compute_probabilities (uint32_t peer_idx) | |||
2375 | 2375 | ||
2376 | to_file_w_len (rps_peers[peer_idx].file_name_probs, | 2376 | to_file_w_len (rps_peers[peer_idx].file_name_probs, |
2377 | probs_as_str_size, | 2377 | probs_as_str_size, |
2378 | "%s", | ||
2378 | probs_as_str); | 2379 | probs_as_str); |
2379 | 2380 | ||
2380 | probs_as_str[0] = '\0'; | 2381 | probs_as_str[0] = '\0'; |
@@ -2390,6 +2391,7 @@ compute_probabilities (uint32_t peer_idx) | |||
2390 | 2391 | ||
2391 | to_file_w_len (rps_peers[peer_idx].file_name_probs_hist, | 2392 | to_file_w_len (rps_peers[peer_idx].file_name_probs_hist, |
2392 | probs_as_str_size, | 2393 | probs_as_str_size, |
2394 | "%s", | ||
2393 | probs_as_str); | 2395 | probs_as_str); |
2394 | GNUNET_free (probs_as_str); | 2396 | GNUNET_free (probs_as_str); |
2395 | } | 2397 | } |