X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/5e775e59b59b64b9864702b9d410c8e3706e223f..04b73012bd80884d26da7157ee0c37f70f2c0b9c:/methods/rsh.h diff --git a/methods/rsh.h b/methods/rsh.h index bb97f062c..98ca6a88c 100644 --- a/methods/rsh.h +++ b/methods/rsh.h @@ -29,12 +29,12 @@ class RSHConn public: - int Process; + pid_t Process; // Raw connection IO bool WriteMsg(string &Text,bool Sync,const char *Fmt,...); bool Connect(string Host, string User); - bool Comp(URI Other) {return Other.Host == ServerName.Host && Other.Port == ServerName.Port;}; + bool Comp(URI Other) const {return Other.Host == ServerName.Host && Other.Port == ServerName.Port;}; // Connection control bool Open();