From: Kern Sibbald Date: Mon, 14 Jun 2010 06:34:02 +0000 (+0200) Subject: Fix restore object compression flag -- James X-Git-Tag: Release-7.0.0~1765 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=428dfc6f6e9927ff177e842222a9f43b391672ab;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;