From: Kern Sibbald Date: Fri, 19 May 2017 15:51:49 +0000 (+0200) Subject: Apply Marcin's fix for 6th week of the month X-Git-Tag: Release-7.9.0~23 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b8f354be911557e1d313cbaeb9761039de254e97;p=bacula%2Fbacula Apply Marcin's fix for 6th week of the month --- 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))) {