1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-29 02:11:15 +02:00

Name the protocol version types

This makes the code clearer, and will help us replace them with proper
structs and get rid of the macros later.
This commit is contained in:
John Ericson 2023-10-17 11:15:36 -04:00
parent e92cac789f
commit ff68426095
6 changed files with 22 additions and 8 deletions

View file

@ -45,7 +45,7 @@ struct LegacySSHStore : public virtual LegacySSHStoreConfig, public virtual Stor
std::unique_ptr<SSHMaster::Connection> sshConn;
FdSink to;
FdSource from;
int remoteVersion;
ServeProto::Version remoteVersion;
bool good = true;
/**