aboutsummaryrefslogtreecommitdiff
path: root/src/nix-daemon/nix-daemon.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2018-03-27 18:54:02 +0200
committerEelco Dolstra <edolstra@gmail.com>2018-05-30 13:29:50 +0200
commitc1d445ececa4ea17bd5b5bff3d5fb3515be723cb (patch)
tree7525bd6d8edf747037f38cf827c9935506aac5bd /src/nix-daemon/nix-daemon.cc
parent737ed88f35ffddb2cb0d5e4b192e20a7b9439682 (diff)
Move some Download-specific settings to download.cc
Diffstat (limited to 'src/nix-daemon/nix-daemon.cc')
-rw-r--r--src/nix-daemon/nix-daemon.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix-daemon/nix-daemon.cc b/src/nix-daemon/nix-daemon.cc
index 590f96211..423e6bb67 100644
--- a/src/nix-daemon/nix-daemon.cc
+++ b/src/nix-daemon/nix-daemon.cc
@@ -553,7 +553,7 @@ static void performOp(TunnelLogger * logger, ref<LocalStore> store,
;
else if (trusted
|| name == settings.buildTimeout.name
- || name == settings.connectTimeout.name)
+ || name == "connect-timeout")
settings.set(name, value);
else if (setSubstituters(settings.substituters))
;