From d26a0fe1ab0437d0da76cf3c414c843a5bede4c9 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Sat, 20 Nov 2010 11:53:08 +0100 Subject: [PATCH] Clear delta sequence when not using in plugin --- bacula/src/filed/fd_plugins.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } } -- 2.39.5