]> git.saurik.com Git - apt.git/blobdiff - methods/rsh.cc
* apt-pkg/cdrom.cc:
[apt.git] / methods / rsh.cc
index d249ae96102aa456e69faa60fb83ea26f43035d6..fb3782314d2152bd4e2378fda6178b04581b2d9b 100644 (file)
@@ -42,7 +42,9 @@ int RSHMethod::FailFd = -1;
 // ---------------------------------------------------------------------
 /* */
 RSHConn::RSHConn(URI Srv) : Len(0), WriteFd(-1), ReadFd(-1),
-                            ServerName(Srv), Process(-1) {}
+                            ServerName(Srv), Process(-1) {
+   Buffer[0] = '\0';
+}
                                                                        /*}}}*/
 // RSHConn::RSHConn - Destructor                                       /*{{{*/
 // ---------------------------------------------------------------------