diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-05-10 18:52:04 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-05-10 18:52:04 +0000 |
commit | 2bf739eadd89fcc7f414995ad4a535e9f38e432c (patch) | |
tree | 7df3b14654d70242403a24a6dfc32bb9eb86865b /src/nse | |
parent | cbda06bb9cf113889724040fdabfeec2ef16ab88 (diff) | |
download | gnunet-2bf739eadd89fcc7f414995ad4a535e9f38e432c.tar.gz gnunet-2bf739eadd89fcc7f414995ad4a535e9f38e432c.zip |
-fixing DBZ
Diffstat (limited to 'src/nse')
-rw-r--r-- | src/nse/gnunet-nse-profiler.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/nse/gnunet-nse-profiler.c b/src/nse/gnunet-nse-profiler.c index a10d23791..4748ed370 100644 --- a/src/nse/gnunet-nse-profiler.c +++ b/src/nse/gnunet-nse-profiler.c | |||
@@ -371,7 +371,9 @@ connect_nse_service (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
371 | #endif | 371 | #endif |
372 | for (i = 0; i < num_peers; i++) | 372 | for (i = 0; i < num_peers; i++) |
373 | { | 373 | { |
374 | if ((connection_limit > 0) && (i % (num_peers / connection_limit) != 0)) | 374 | if ((connection_limit > 0) && |
375 | (num_peers > connection_limit) && | ||
376 | (i % (num_peers / connection_limit) != 0)) | ||
375 | continue; | 377 | continue; |
376 | #if VERBOSE | 378 | #if VERBOSE |
377 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, | 379 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, |