From: Alain Spineux Date: Fri, 16 Oct 2015 13:13:51 +0000 (+0200) Subject: dedup fix bextract bug X-Git-Tag: Release-7.4.0~193 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=fd10bff4b5084ab8584600692824c6d3269ff29e;p=bacula%2Fbacula dedup fix bextract bug some pointers were not restored: if (restoredatap) { rec->data = orgdata; rec->data_len = orgdata_len; } --- diff --git a/bacula/src/stored/bextract.c b/bacula/src/stored/bextract.c index baeb42ef08..f6d65f352e 100644 --- a/bacula/src/stored/bextract.c +++ b/bacula/src/stored/bextract.c @@ -359,7 +359,8 @@ static bool record_cb(DCR *dcr, DEV_RECORD *rec) if (verbose != 1 && (num_records % 200000) == 0L) { fprintf(stderr, "\rfiles=%d records=%s\n", num_files, edit_uint64(num_records, ed1)); } - return true; + ret = true; + goto bail_out; } /* File Attributes stream */