]> git.sur5r.net Git - bacula/bacula/commitdiff
Fix seg fault introduced during restore cut and paste
authorKern Sibbald <kern@sibbald.com>
Wed, 22 Sep 2010 06:52:45 +0000 (08:52 +0200)
committerKern Sibbald <kern@sibbald.com>
Wed, 22 Sep 2010 06:53:25 +0000 (08:53 +0200)
bacula/src/dird/ua_run.c

index b813c8904ad9ed4cf3c866aeb77c630d23dca12e..06470ab68562c7b111e64bc03361c6de12952bc2 100644 (file)
@@ -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(),