]> git.sur5r.net Git - bacula/bacula/commitdiff
Fix restore object compression flag -- James
authorKern Sibbald <kern@sibbald.com>
Mon, 14 Jun 2010 06:34:02 +0000 (08:34 +0200)
committerEric Bollengier <eric@eb.homelinux.org>
Mon, 2 Aug 2010 14:53:53 +0000 (16:53 +0200)
bacula/src/filed/backup.c

index 26ea47809a59bd9375be2f943d83f70ba4dafb8e..f294a29b789b6b61736e7243eadc1a708d143cc9 100644 (file)
@@ -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;