projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
612704d
)
-remove debug message
master
author
Martin Schanzenbach
<mschanzenbach@posteo.de>
Sun, 21 Jun 2020 20:07:03 +0000
(22:07 +0200)
committer
Martin Schanzenbach
<mschanzenbach@posteo.de>
Sun, 21 Jun 2020 20:07:03 +0000
(22:07 +0200)
src/gns/gnunet-dns2gns.c
patch
|
blob
|
history
diff --git
a/src/gns/gnunet-dns2gns.c
b/src/gns/gnunet-dns2gns.c
index 5d8b6f1171d47400c93cb6e5ecaf0d9977f2e834..74309f55467aa5dbebbc22920a47362bef0f4144 100644
(file)
--- a/
src/gns/gnunet-dns2gns.c
+++ b/
src/gns/gnunet-dns2gns.c
@@
-208,8
+208,6
@@
shuffle_answers (struct Request *request)
r_idx = GNUNET_CRYPTO_random_u32 (GNUNET_CRYPTO_QUALITY_WEAK,
request->packet->num_answers);
idx--;
r_idx = GNUNET_CRYPTO_random_u32 (GNUNET_CRYPTO_QUALITY_WEAK,
request->packet->num_answers);
idx--;
- GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
- "Swapping %u with %u\n", idx, r_idx);
tmp_answer = request->packet->answers[idx];
memcpy (&request->packet->answers[idx], &request->packet->answers[r_idx],
sizeof (struct GNUNET_DNSPARSER_Record));
tmp_answer = request->packet->answers[idx];
memcpy (&request->packet->answers[idx], &request->packet->answers[r_idx],
sizeof (struct GNUNET_DNSPARSER_Record));