From: Kern Sibbald Date: Wed, 6 Jan 2016 09:45:46 +0000 (+0100) Subject: Fix FD DisableCommands X-Git-Tag: Release-7.4.0~37 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=db5215d6b59c5ca259012f695f6bda5d5bc56d68;p=bacula%2Fbacula Fix FD DisableCommands --- diff --git a/bacula/src/filed/filed.c b/bacula/src/filed/filed.c index 85ab0237f3..677d172190 100644 --- a/bacula/src/filed/filed.c +++ b/bacula/src/filed/filed.c @@ -543,7 +543,7 @@ static bool check_resources() /* Construct disabled command array */ for (i=0; cmds[i].cmd; i++) { } /* Count commands */ - if (me->disable_cmds) { + if (director->disable_cmds) { director->disabled_cmds_array = (bool *)malloc(i); memset(director->disabled_cmds_array, 0, i); foreach_alist(cmd, director->disable_cmds) {