From: Kern Sibbald Date: Mon, 14 Jun 2010 06:34:02 +0000 (+0200) Subject: Fix restore object compression flag -- James X-Git-Tag: Release-5.2.1~1300 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f1d1d269256c909acf889124fa830add153ed82d;p=bacula%2Fbacula Fix restore object compression flag -- James --- diff --git a/bacula/src/filed/backup.c b/bacula/src/filed/backup.c index 26ea47809a..f294a29b78 100644 --- a/bacula/src/filed/backup.c +++ b/bacula/src/filed/backup.c @@ -1194,6 +1194,7 @@ bool encode_and_send_attributes(JCR *jcr, FF_PKT *ff_pkt, int &data_stream) break; case FT_RESTORE_FIRST: comp_len = ff_pkt->object_len; + ff_pkt->object_compression = 0; if (ff_pkt->object_len > 1000) { /* Big object, compress it */ int stat;