From: Eric Bollengier Date: Sat, 13 Dec 2008 12:53:26 +0000 (+0000) Subject: ebl small fix X-Git-Tag: Release-7.0.0~3642 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=67778a671965609d37270e8c6736bf91d43941f3;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 */ } +