diff options
Diffstat (limited to 'users')
-rw-r--r-- | users/picnoir/tvix-daemon/src/main.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/users/picnoir/tvix-daemon/src/main.rs b/users/picnoir/tvix-daemon/src/main.rs index dc49b209e009..580f07652097 100644 --- a/users/picnoir/tvix-daemon/src/main.rs +++ b/users/picnoir/tvix-daemon/src/main.rs @@ -67,14 +67,14 @@ where R: AsyncReadExt + AsyncWriteExt + Unpin + std::fmt::Debug, { match server_handshake_client(&mut conn, "2.18.2", Trust::Trusted).await { - Ok(client_protocol_version) => { + Ok(picked_protocol_version) => { let mut client_connection = ClientConnection { conn, - version: client_protocol_version, + version: picked_protocol_version, client_settings: None, }; debug!("Client hanshake succeeded"); - debug!(client_protocol_version = ?client_protocol_version); + debug!(picked_protocol_version = ?picked_protocol_version); // TODO: implement logging. For now, we'll just send // STDERR_LAST, which is good enough to get Nix respond to // us. |