about summary refs log tree commit diff
path: root/src/nix-daemon
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2018-03-27T16·54+0200
committerEelco Dolstra <edolstra@gmail.com>2018-05-30T11·29+0200
commitc1d445ececa4ea17bd5b5bff3d5fb3515be723cb (patch)
tree7525bd6d8edf747037f38cf827c9935506aac5bd /src/nix-daemon
parent737ed88f35ffddb2cb0d5e4b192e20a7b9439682 (diff)
Move some Download-specific settings to download.cc
Diffstat (limited to 'src/nix-daemon')
-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 590f96211421..423e6bb67893 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))
                     ;