From: Eric Bollengier Date: Sat, 13 Dec 2008 12:53:26 +0000 (+0000) Subject: ebl small fix X-Git-Tag: Release-3.0.0~490 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2a13e675bfad761cb7e2983ea10e2b726918350d;p=bacula%2Fbacula ebl small fix git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@8150 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/patches/testing/fix_1190.patch b/bacula/patches/testing/fix_1190.patch index 8609be679d..f98a64ec31 100644 --- a/bacula/patches/testing/fix_1190.patch +++ b/bacula/patches/testing/fix_1190.patch @@ -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 */ } +