[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet] branch master updated: Add missing #ifdef
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet] branch master updated: Add missing #ifdef |
Date: |
Sun, 26 Aug 2018 23:15:01 +0200 |
This is an automated email from the git hooks/post-receive script.
julius-buenger pushed a commit to branch master
in repository gnunet.
The following commit(s) were added to refs/heads/master by this push:
new 68bcee90f Add missing #ifdef
68bcee90f is described below
commit 68bcee90f4d7973a712e3304d82f5246443eb314
Author: Julius Bünger <address@hidden>
AuthorDate: Sun Aug 26 23:14:28 2018 +0200
Add missing #ifdef
---
src/rps/gnunet-service-rps_sampler.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/rps/gnunet-service-rps_sampler.c
b/src/rps/gnunet-service-rps_sampler.c
index 2974c3cbc..20b2d3420 100644
--- a/src/rps/gnunet-service-rps_sampler.c
+++ b/src/rps/gnunet-service-rps_sampler.c
@@ -455,11 +455,13 @@ RPS_sampler_mod_init (size_t init_size,
sampler = RPS_sampler_init (init_size, max_round_interval);
sampler->get_peers = sampler_mod_get_rand_peer;
+#ifdef TO_FILE
LOG (GNUNET_ERROR_TYPE_DEBUG,
"Initialised modified sampler %s\n",
sampler->file_name);
to_file (sampler->file_name,
"This is a modified sampler");
+#endif /* TO_FILE */
return sampler;
}
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [gnunet] branch master updated: Add missing #ifdef,
gnunet <=