]> git.sur5r.net Git - bacula/bacula/commitdiff
Apply Marcin's fix for 6th week of the month
authorKern Sibbald <kern@sibbald.com>
Fri, 19 May 2017 15:51:49 +0000 (17:51 +0200)
committerKern Sibbald <kern@sibbald.com>
Mon, 22 May 2017 13:01:43 +0000 (15:01 +0200)
bacula/src/dird/bdirjson.c

index 343c80aecffa8e5fa9cb7f92e5ab0a247397c5ba..f44f77ea4db5a80c8e965aa41cf11a04376ba6dc 100644 (file)
@@ -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))) {