X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=dump%2Ftape.c;h=45535ea692e1c3adfbf9fd6b0dc3ca9ebb18cd88;hb=3195bc1f1361373549c37145a37381eceb623371;hp=f61fc879ee395b2228fe61d4e510d0348ea96210;hpb=103245b6fea8e7d77722e85ccb404ac1d928987d;p=dump.git diff --git a/dump/tape.c b/dump/tape.c index f61fc87..45535ea 100644 --- a/dump/tape.c +++ b/dump/tape.c @@ -41,7 +41,7 @@ #ifndef lint static const char rcsid[] = - "$Id: tape.c,v 1.55 2001/09/06 09:00:32 stelian Exp $"; + "$Id: tape.c,v 1.57 2001/09/12 10:21:49 stelian Exp $"; #endif /* not lint */ #include @@ -68,7 +68,6 @@ int write(), read(); #endif #include #include -#include #include #include #ifdef __linux__ @@ -1123,6 +1122,7 @@ doslave(int cmd, int slave_number, int first) if (compressed && do_compress) { comp_buf->length = bufsize; worklen = TP_BSIZE + writesize; + compresult = 1; #ifdef HAVE_ZLIB if (!bzipflag) { compresult = compress2(comp_buf->buf,