mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-10 08:16:15 +02:00
nix-daemon: Fix compat with older clients
This commit is contained in:
parent
2304a7dd21
commit
8f72e702a1
1 changed files with 1 additions and 1 deletions
|
@ -548,7 +548,7 @@ static void performOp(bool trusted, unsigned int clientVersion,
|
|||
settings.set("build-max-jobs", int2String(readInt(from)));
|
||||
settings.set("build-max-silent-time", int2String(readInt(from)));
|
||||
if (GET_PROTOCOL_MINOR(clientVersion) >= 2)
|
||||
settings.useBuildHook = readInt(from) != 0;
|
||||
if (readInt(from) != 0) settings.useBuildHook = true;
|
||||
if (GET_PROTOCOL_MINOR(clientVersion) >= 4) {
|
||||
settings.buildVerbosity = (Verbosity) readInt(from);
|
||||
logType = (LogType) readInt(from);
|
||||
|
|
Loading…
Reference in a new issue