[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnunet] branch master updated: rps: fix another 'format not a string li
From: |
gnunet |
Subject: |
[gnunet] branch master updated: rps: fix another 'format not a string literal' warning |
Date: |
Sun, 22 Nov 2020 00:47:40 +0100 |
This is an automated email from the git hooks/post-receive script.
daniel-golle pushed a commit to branch master
in repository gnunet.
The following commit(s) were added to refs/heads/master by this push:
new d2e10ef67 rps: fix another 'format not a string literal' warning
d2e10ef67 is described below
commit d2e10ef670311dd88f9b86288fcbfbad0876f3cb
Author: Daniel Golle <daniel@makrotopia.org>
AuthorDate: Sat Nov 21 22:58:44 2020 +0000
rps: fix another 'format not a string literal' warning
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
---
src/rps/gnunet-rps-profiler.c | 2 ++
1 file changed, 2 insertions(+)
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)
to_file_w_len (rps_peers[peer_idx].file_name_probs,
probs_as_str_size,
+ "%s",
probs_as_str);
probs_as_str[0] = '\0';
@@ -2390,6 +2391,7 @@ compute_probabilities (uint32_t peer_idx)
to_file_w_len (rps_peers[peer_idx].file_name_probs_hist,
probs_as_str_size,
+ "%s",
probs_as_str);
GNUNET_free (probs_as_str);
}
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnunet] branch master updated: rps: fix another 'format not a string literal' warning,
gnunet <=