From: Christian Grothoff Date: Thu, 12 Jan 2017 17:04:14 +0000 (+0100) Subject: force non-zero X-Git-Tag: taler-0.2.1~459^2 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=bfd918f36f74832aba397176f1360f241185c919;p=oweals%2Fgnunet.git force non-zero --- diff --git a/src/zonemaster/gnunet-service-zonemaster.c b/src/zonemaster/gnunet-service-zonemaster.c index 5f3ba84bb..08a09de34 100644 --- a/src/zonemaster/gnunet-service-zonemaster.c +++ b/src/zonemaster/gnunet-service-zonemaster.c @@ -731,7 +731,8 @@ run (void *cls, "Number of allowed parallel background queries: %llu\n", max_parallel_bg_queries); } - + if (0 == max_parallel_bg_queries) + max_parallel_bg_queries = 1; dht_handle = GNUNET_DHT_connect (c, (unsigned int) max_parallel_bg_queries); if (NULL == dht_handle)