From 2b58825bb2805a51b36132315a9dffaac87bd3e8 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Tue, 15 May 2012 20:34:32 +0200 Subject: [PATCH] Apply James' exchange-fd.c regression fix --- bacula/src/win32/filed/plugins/exchange-fd.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/bacula/src/win32/filed/plugins/exchange-fd.c b/bacula/src/win32/filed/plugins/exchange-fd.c index f5f80b412d..dcc70440b3 100644 --- a/bacula/src/win32/filed/plugins/exchange-fd.c +++ b/bacula/src/win32/filed/plugins/exchange-fd.c @@ -272,17 +272,13 @@ static bRC handlePluginEvent(bpContext *ctx, bEvent *event, void *value) } break; case bEventLevel: - if (!context->plugin_active) { - break; - } + /* We don't know if the plugin is active here yet */ intval = (intptr_t)value; _DebugMessage(100, "JobLevel=%c %d\n", intval, intval); context->job_level = intval; break; case bEventSince: - if (!context->plugin_active) { - break; - } + /* We don't know if the plugin is active here yet */ intval = (intptr_t)value; _DebugMessage(100, "since=%d\n", intval); context->job_since = (time_t)value; -- 2.39.5