]> git.saurik.com Git - apt.git/blobdiff - methods/rsh.h
move the list of versions to test with to the libapt subdirectory
[apt.git] / methods / rsh.h
index bb97f062c118ca56ae508d95ad43c10ed1bdd26b..98ca6a88ce69162526fe94fafd5d67fd53c58196 100644 (file)
@@ -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();