diff options
Diffstat (limited to 'src/rps/gnunet-service-rps_sampler.c')
-rw-r--r-- | src/rps/gnunet-service-rps_sampler.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/rps/gnunet-service-rps_sampler.c b/src/rps/gnunet-service-rps_sampler.c index dcfef19c6..d3abfa67f 100644 --- a/src/rps/gnunet-service-rps_sampler.c +++ b/src/rps/gnunet-service-rps_sampler.c | |||
@@ -202,15 +202,6 @@ RPS_sampler_init (size_t init_size, | |||
202 | 202 | ||
203 | sampler = GNUNET_new (struct RPS_Sampler); | 203 | sampler = GNUNET_new (struct RPS_Sampler); |
204 | 204 | ||
205 | #ifdef TO_FILE | ||
206 | sampler->file_name = create_file ("sampler-"); | ||
207 | GNUNET_assert (NULL != sampler->file_name); | ||
208 | |||
209 | LOG (GNUNET_ERROR_TYPE_DEBUG, | ||
210 | "Initialised sampler %s\n", | ||
211 | sampler->file_name); | ||
212 | #endif /* TO_FILE */ | ||
213 | |||
214 | sampler->max_round_interval = max_round_interval; | 205 | sampler->max_round_interval = max_round_interval; |
215 | sampler->get_peers = sampler_get_rand_peer; | 206 | sampler->get_peers = sampler_get_rand_peer; |
216 | //sampler->sampler_elements = GNUNET_new_array(init_size, struct GNUNET_PeerIdentity); | 207 | //sampler->sampler_elements = GNUNET_new_array(init_size, struct GNUNET_PeerIdentity); |