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-5.2.1~921 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=9471da7e0b684cb2da6a5bc4ecb3a73cc3ddac52;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; } }