git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@8150
91ce42f0-d328-0410-95d8-
f526ca767f89
- found_bsr_sblock = vb->sblock;
- }
+ /* Files are equal, use block to find the smallest */
- found_bsr_sblock = vb->sblock;
- }
+ /* Files are equal, use block to find the smallest */
-+ if (get_smallest_volblock(found_bsr->volblock, &found_bsr_sblock)) {
++ if (!get_smallest_volblock(found_bsr->volblock, &found_bsr_sblock)) {
+ return bsr; /* Should not be there */
}
- /* Find smallest block in bsr */
+ return bsr; /* Should not be there */
}
- /* Find smallest block in bsr */
- bsr_sblock = vb->sblock;
- }
+
- bsr_sblock = vb->sblock;
- }
+
-+ if (get_smallest_volblock(bsr->volblock, &bsr_sblock)) {
++ if (!get_smallest_volblock(bsr->volblock, &bsr_sblock)) {
+ return found_bsr; /* Should not be there */
}
+
+ return found_bsr; /* Should not be there */
}
+