From c0aa5a609cdbdc88457225842ce8795c236aed5b Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Fri, 25 Feb 2005 09:48:47 +0000 Subject: [PATCH] Make filed/job.c downward compatible git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1841 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/src/filed/job.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bacula/src/filed/job.c b/bacula/src/filed/job.c index 8b055faa22..68710497e2 100644 --- a/bacula/src/filed/job.c +++ b/bacula/src/filed/job.c @@ -1139,6 +1139,9 @@ static int level_cmd(JCR *jcr) buf = get_memory(dir->msglen+1); utime_t since_time, adj; btime_t his_time, bt_start, rt=0, bt_adj=0; + if (jcr->JobLevel == 0) { + jcr->JobLevel = L_SINCE; /* if no other job level set, do it now */ + } if (sscanf(dir->msg, "level = since_utime %s mtime_only=%d", buf, &mtime_only) != 2) { goto bail_out; -- 2.39.5