From b8f354be911557e1d313cbaeb9761039de254e97 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Fri, 19 May 2017 17:51:49 +0200 Subject: [PATCH] Apply Marcin's fix for 6th week of the month --- bacula/src/dird/bdirjson.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bacula/src/dird/bdirjson.c b/bacula/src/dird/bdirjson.c index 343c80aecf..f44f77ea4d 100644 --- a/bacula/src/dird/bdirjson.c +++ b/bacula/src/dird/bdirjson.c @@ -874,7 +874,7 @@ static void display_run(HPKT &hpkt) if (byte_is_set(run->wom, sizeof(run->wom))) { if (!first) sendit(NULL, ",\n"); sendit(NULL, " \"WeekOfMonth\":"); - display_bit_array(run->wom, 5); + display_bit_array(run->wom, 6); first = false; } if (byte_is_set(run->woy, sizeof(run->woy))) { -- 2.39.5