From: Kern Sibbald Date: Wed, 22 Sep 2010 06:52:45 +0000 (+0200) Subject: Fix seg fault introduced during restore cut and paste X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=cd68906729f3b785332f402108a32854ff83800a;p=bacula%2Fbacula Fix seg fault introduced during restore cut and paste --- 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(),