From: Kern Sibbald Date: Tue, 20 Sep 2016 16:33:24 +0000 (+0200) Subject: Fix broken backport commit X-Git-Tag: Release-7.4.4~5 X-Git-Url: https://git.sur5r.net/?p=bacula%2Fbacula;a=commitdiff_plain;h=f3726908a52a1e18d312f985a5c07c577ba65157 Fix broken backport commit --- diff --git a/bacula/src/dird/ua_run.c b/bacula/src/dird/ua_run.c index fc27f61d93..beb67e3174 100644 --- a/bacula/src/dird/ua_run.c +++ b/bacula/src/dird/ua_run.c @@ -1072,7 +1072,7 @@ static bool set_run_context_in_jcr(UAContext *ua, JCR *jcr, run_ctx &rc) } /* Not a good idea to start a job with the Scratch pool */ - if (rc.pool && strcmp(rc.pool->name, NT_("Scratch")) == 0) { + if (rc.pool && strcmp(rc.pool->name(), NT_("Scratch")) == 0) { ua->send_msg(_("Pool \"Scratch\" not valid.\n")); return false; }