From: Eric Bollengier Date: Tue, 5 Jul 2022 14:06:54 +0000 (+0200) Subject: Fix compilation X-Git-Tag: Beta-15.0.0~549 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=04917401a784e25ec697a208894f1d29de26797a;p=thirdparty%2Fbacula.git Fix compilation --- diff --git a/bacula/src/dird/job.c b/bacula/src/dird/job.c index 74fe49f20..4e6539cd5 100644 --- a/bacula/src/dird/job.c +++ b/bacula/src/dird/job.c @@ -1408,7 +1408,7 @@ bool get_or_create_fileset_record(JCR *jcr) */ bin_to_base64(fsr.MD5, sizeof(fsr.MD5), (char *)digest, MD5HashSize, false); bstrncpy(jcr->fileset->MD5, fsr.MD5, sizeof(jcr->fileset->MD5)); - } else if (jcr.getJobType() == JT_BACKUP) { + } else if (jcr->getJobType() == JT_BACKUP) { /* Empty fileset is ok for copy, admin, migration or restore */ Jmsg(jcr, M_WARNING, 0, _("FileSet MD5 digest not found.\n")); }