viced-cblater-unmark-20090605
authorDerrick Brashear <shadow@dementia.org>
Sat, 6 Jun 2009 01:10:46 +0000 (01:10 +0000)
committerDerrick Brashear <shadow@dementia.org>
Sat, 6 Jun 2009 01:10:46 +0000 (01:10 +0000)
LICENSE IPL10

make things match 1.5.x: unmark entries FE_LATER when they get unchained

src/viced/callback.c

index 24f17e5..c5f6af5 100644 (file)
@@ -1352,6 +1352,7 @@ BreakLaterCallBacks(void)
                         fe->volid));
                fid.Volume = fe->volid;
                *feip = fe->fnext;
+               fe->status &= ~FE_LATER; /* not strictly needed */
                /* Works since volid is deeper than the largest pointer */
                tmpfe = (struct object *)fe;
                tmpfe->next = (struct object *)myfe;