diff options
author | Julius Bünger <buenger@mytum.de> | 2019-04-08 16:03:42 +0200 |
---|---|---|
committer | Julius Bünger <buenger@mytum.de> | 2019-04-08 16:03:42 +0200 |
commit | 676339f8b08099062248ed297e0e13fa9a9f6e42 (patch) | |
tree | 9fe50edc854153f2259708fe42f4d2d2876017d8 /src/rps/gnunet-rps-profiler.c | |
parent | ba49954276e1f04c1d3b6e1861be617882783e54 (diff) | |
download | gnunet-676339f8b08099062248ed297e0e13fa9a9f6e42.tar.gz gnunet-676339f8b08099062248ed297e0e13fa9a9f6e42.zip |
RPS data extraction: Format written files
Diffstat (limited to 'src/rps/gnunet-rps-profiler.c')
-rw-r--r-- | src/rps/gnunet-rps-profiler.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rps/gnunet-rps-profiler.c b/src/rps/gnunet-rps-profiler.c index ffc9d6f7e..a13ee4078 100644 --- a/src/rps/gnunet-rps-profiler.c +++ b/src/rps/gnunet-rps-profiler.c | |||
@@ -2222,7 +2222,7 @@ static void compute_probabilities (uint32_t peer_idx) | |||
2222 | { | 2222 | { |
2223 | //double probs[num_peers] = { 0 }; | 2223 | //double probs[num_peers] = { 0 }; |
2224 | double probs[num_peers]; | 2224 | double probs[num_peers]; |
2225 | size_t probs_as_str_size = (num_peers * 10 + 1) * sizeof (char); | 2225 | size_t probs_as_str_size = (num_peers * 10 + 2) * sizeof (char); |
2226 | char *probs_as_str = GNUNET_malloc (probs_as_str_size); | 2226 | char *probs_as_str = GNUNET_malloc (probs_as_str_size); |
2227 | char *probs_as_str_cpy; | 2227 | char *probs_as_str_cpy; |
2228 | uint32_t i; | 2228 | uint32_t i; |