X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=bacula%2Fsrc%2Ffiled%2Frestore.c;h=299b78f9e2a5b33902fbe92add40c289f14028d2;hb=f5571f4e4916261503020df01b6f9d30d17ae194;hp=0a0aa6a25e8c6103e6f871c46078398c9c6d1058;hpb=ab26b486ce077fe2a52e6afd7f8d7a3b4fb4442d;p=bacula%2Fbacula diff --git a/bacula/src/filed/restore.c b/bacula/src/filed/restore.c index 0a0aa6a25e..299b78f9e2 100644 --- a/bacula/src/filed/restore.c +++ b/bacula/src/filed/restore.c @@ -320,10 +320,10 @@ void do_restore(JCR *jcr) bclose(&rctx.bfd); } - /* TODO: manage deleted files */ - if (rctx.type == FT_DELETED) { /* deleted file */ - continue; - } + /* TODO: manage deleted files */ + if (rctx.type == FT_DELETED) { /* deleted file */ + continue; + } /* * Unpack attributes and do sanity check them @@ -1114,7 +1114,6 @@ int32_t extract_data(JCR *jcr, BFILE *bfd, POOLMEM *buf, int32_t buflen, * packet length may be re-read by unser_crypto_packet_len() */ cipher_ctx->packet_len = 0; } - return wsize; }