]> git.sur5r.net Git - bacula/bacula/commitdiff
ebl small fix
authorEric Bollengier <eric@eb.homelinux.org>
Sat, 13 Dec 2008 12:53:26 +0000 (12:53 +0000)
committerEric Bollengier <eric@eb.homelinux.org>
Sat, 13 Dec 2008 12:53:26 +0000 (12:53 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@8150 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/patches/testing/fix_1190.patch

index 8609be679d796b850b5f52ce85d1ae65a734af08..f98a64ec319bfabef9cda04de4acbfbd2f1d1ecf 100644 (file)
@@ -124,7 +124,7 @@ Index: src/stored/match_bsr.c
 -            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 */
@@ -135,7 +135,7 @@ Index: src/stored/match_bsr.c
 -            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 */
        }
 +