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-Tag: Release-5.2.1~1092 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=380a625da926ab7ee74dd258adbc19c14d0393d4;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 b813c8904a..06470ab685 100644 --- a/bacula/src/dird/ua_run.c +++ b/bacula/src/dird/ua_run.c @@ -775,14 +775,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()), @@ -820,7 +819,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" @@ -890,7 +889,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" @@ -901,7 +900,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(),