]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
Fix compilation
authorEric Bollengier <eric@baculasystems.com>
Tue, 5 Jul 2022 14:06:54 +0000 (16:06 +0200)
committerEric Bollengier <eric@baculasystems.com>
Thu, 14 Sep 2023 11:56:58 +0000 (13:56 +0200)
bacula/src/dird/job.c

index 74fe49f209742b96c3e6e54a020cdaa1832b2374..4e6539cd53fcb4819268249ece68fca47782a565 100644 (file)
@@ -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"));
    }