From: Eric Bollengier Date: Tue, 26 Oct 2021 09:19:49 +0000 (+0200) Subject: Change .bvfs_get_jobids() to use PriorJob X-Git-Tag: Release-11.3.2~332 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=44a8b7b44f2db364bd0c61cbc8edc2cc5275e674;p=thirdparty%2Fbacula.git Change .bvfs_get_jobids() to use PriorJob --- diff --git a/bacula/src/dird/ua_dotcmds.c b/bacula/src/dird/ua_dotcmds.c index a449d5327..6c66a654f 100644 --- a/bacula/src/dird/ua_dotcmds.c +++ b/bacula/src/dird/ua_dotcmds.c @@ -1455,6 +1455,7 @@ static bool dot_bvfs_get_jobids(UAContext *ua, const char *cmd) /* Get JobId from ujobid */ } else if ((pos = find_arg_with_value(ua, "ujobid")) >= 0) { bstrncpy(jr.Job, ua->argv[pos], sizeof(jr.Job)); + bstrncpy(jr.PriorJob, ua->argv[pos], sizeof(jr.PriorJob)); /* Return all backup jobid for a client list */ } else if ((pos = find_arg_with_value(ua, "client")) >= 0 ||