From 07d2862427288b5531dcfa418fea2d9a3b59e54f Mon Sep 17 00:00:00 2001 From: RichardHaselgrove Date: Tue, 20 Apr 2021 16:25:15 +0100 Subject: [PATCH] Client: fix work_fetch after app_config write from RPC Treat project_max_concurrent=0 as 'unspecified'. --- lib/cc_config.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cc_config.cpp b/lib/cc_config.cpp index b8964e1f98..bcbfef9ea2 100644 --- a/lib/cc_config.cpp +++ b/lib/cc_config.cpp @@ -831,7 +831,7 @@ int APP_CONFIGS::parse(XML_PARSER& xp, MSG_VEC& mv, LOG_FLAGS& log_flags) { continue; } if (xp.parse_int("project_max_concurrent", n)) { - if (n >= 0) { + if (n > 0) { have_max_concurrent = true; project_has_mc = true; project_max_concurrent = n;