]> git.sur5r.net Git - bacula/bacula/commitdiff
Initialize delta_seq to -1 because 0 means that we have already a version
authorEric Bollengier <eric@baculasystems.com>
Sun, 15 Jan 2012 16:16:58 +0000 (17:16 +0100)
committerKern Sibbald <kern@sibbald.com>
Sat, 20 Apr 2013 12:50:27 +0000 (14:50 +0200)
bacula/src/filed/accurate.c

index 404756aa6c20e16e42b1880c2848877abc97e145..aeaa29e220357138bed65740b614bfa7764d2521 100644 (file)
@@ -258,7 +258,7 @@ bool accurate_check_file(JCR *jcr, FF_PKT *ff_pkt)
    char *fname;
    CurFile elt;
 
-   ff_pkt->delta_seq = 0;
+   ff_pkt->delta_seq = -1;
 
    if (!jcr->accurate && !jcr->rerunning) {
       return true;