From cd68906729f3b785332f402108a32854ff83800a Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Wed, 22 Sep 2010 08:52:45 +0200 Subject: [PATCH] Fix seg fault introduced during restore cut and paste --- bacula/src/dird/ua_run.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/bacula/src/dird/ua_run.c b/bacula/src/dird/ua_run.c index d08bfc557f..9786ce0250 100644 --- a/bacula/src/dird/ua_run.c +++ b/bacula/src/dird/ua_run.c @@ -766,14 +766,13 @@ static bool display_job_parameters(UAContext *ua, JCR *jcr, JOB *job, const char bstrutime(dt, sizeof(dt), jcr->sched_time), jcr->JobPriority); } else { - ua->send_msg(_("Run %s job\n" + ua->send_msg(_("Run Admin Job\n" "JobName: %s\n" "FileSet: %s\n" "Client: %s\n" "Storage: %s\n" "When: %s\n" "Priority: %d\n"), - _("Admin"), job->name(), jcr->fileset->name(), NPRT(jcr->client->name()), @@ -811,7 +810,7 @@ static bool display_job_parameters(UAContext *ua, JCR *jcr, JOB *job, const char jcr->plugin_options?jcr->plugin_options:"", jcr->plugin_options?"\n":""); } else { - ua->send_msg(_("Run %s job\n" + ua->send_msg(_("Run Backup job\n" "JobName: %s\n" "Level: %s\n" "Client: %s\n" @@ -871,7 +870,7 @@ static bool display_job_parameters(UAContext *ua, JCR *jcr, JOB *job, const char bstrutime(dt, sizeof(dt), jcr->sched_time), jcr->JobPriority); } else { - ua->send_msg(_("Run %s job\n" + ua->send_msg(_("Run Verify Job\n" "JobName: %s\n" "Level: %s\n" "Client: %s\n" @@ -882,7 +881,6 @@ static bool display_job_parameters(UAContext *ua, JCR *jcr, JOB *job, const char "Verify List: %s\n" "When: %s\n" "Priority: %d\n"), - _("Verify"), job->name(), level_to_str(jcr->getJobLevel()), jcr->client->name(), -- 2.39.5