From bfd918f36f74832aba397176f1360f241185c919 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 12 Jan 2017 18:04:14 +0100 Subject: [PATCH] force non-zero --- src/zonemaster/gnunet-service-zonemaster.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- 2.25.1