]> git.sur5r.net Git - bacula/bacula/commitdiff
Fix bug #1841 estimate command level=differential goes wrong in accurate mode.
authorMarco van Wieringen <mvw@planets.elm.net>
Fri, 23 Mar 2012 19:24:04 +0000 (20:24 +0100)
committerKern Sibbald <kern@sibbald.com>
Sat, 20 Apr 2013 12:50:33 +0000 (14:50 +0200)
bacula/src/dird/ua_cmds.c

index 2ce9df699588e37de9bb91d83edbcac600aafdbc..9ac584c70c820a4a781ed1ff4e753a1b730320eb 100644 (file)
@@ -1298,6 +1298,7 @@ static int estimate_cmd(UAContext *ua, const char *cmd)
 
    jcr->job = job;
    jcr->setJobType(JT_BACKUP);
+   jcr->start_time = time(NULL);
    init_jcr_job_record(jcr);
 
    if (!get_or_create_client_record(jcr)) {