From: Kern Sibbald Date: Sat, 20 Nov 2010 10:53:08 +0000 (+0100) Subject: Clear delta sequence when not using in plugin X-Git-Tag: Release-7.0.0~1386 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d26a0fe1ab0437d0da76cf3c414c843a5bede4c9;p=bacula%2Fbacula Clear delta sequence when not using in plugin --- diff --git a/bacula/src/filed/fd_plugins.c b/bacula/src/filed/fd_plugins.c index 4120bcf2f1..335d66a283 100644 --- a/bacula/src/filed/fd_plugins.c +++ b/bacula/src/filed/fd_plugins.c @@ -400,7 +400,8 @@ int plugin_save(JCR *jcr, FF_PKT *ff_pkt, bool top_level) ff_pkt->flags |= FO_DELTA; ff_pkt->delta_seq++; /* make new delta sequence number */ } else { - ff_pkt->flags &= ~FO_DELTA; + ff_pkt->flags &= ~FO_DELTA; /* clean delta sequence number */ + ff_pkt->delta_seq = 0; } }