From 3931e4d5393342c3b956c380d4d00c0f89aad985 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Fri, 7 Nov 2003 11:36:37 +0000 Subject: [PATCH] Fix week position typo causing wrong volume to be printed git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@799 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/src/dird/ua_output.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bacula/src/dird/ua_output.c b/bacula/src/dird/ua_output.c index 4d4684be86..05cee1db59 100644 --- a/bacula/src/dird/ua_output.c +++ b/bacula/src/dird/ua_output.c @@ -476,7 +476,7 @@ RUN *find_next_run(RUN *run, JOB *job, time_t &runtime) bit_is_set(month, run->month) && bit_is_set(wpos, run->wpos); tom = (bit_is_set(tmday, run->mday) || bit_is_set(twday, run->wday)) && - bit_is_set(tmonth, run->month) && bit_is_set(wpos, run->wpos); + bit_is_set(tmonth, run->month) && bit_is_set(twpos, run->wpos); Dmsg2(200, "tod=%d tom=%d\n", tod, tom); if (tod) { /* Jobs scheduled today (next 24 hours) */ -- 2.39.5