]> git.sur5r.net Git - bacula/bacula/commitdiff
Apply James' exchange-fd.c regression fix
authorKern Sibbald <kern@sibbald.com>
Tue, 15 May 2012 18:34:32 +0000 (20:34 +0200)
committerKern Sibbald <kern@sibbald.com>
Sat, 20 Apr 2013 12:50:38 +0000 (14:50 +0200)
bacula/src/win32/filed/plugins/exchange-fd.c

index f5f80b412df6f54d1df6f4c33611dede216f90d3..dcc70440b3421df7db93f7bde5edebed72ea729f 100644 (file)
@@ -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;