From f3726908a52a1e18d312f985a5c07c577ba65157 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Tue, 20 Sep 2016 18:33:24 +0200 Subject: [PATCH] Fix broken backport commit --- bacula/src/dird/ua_run.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.5