]> git.sur5r.net Git - bacula/bacula/commitdiff
tweak bpipe-fd to display PluginCommand
authorEric Bollengier <eric@eb.homelinux.org>
Thu, 6 May 2010 11:58:33 +0000 (13:58 +0200)
committerEric Bollengier <eric@eb.homelinux.org>
Mon, 2 Aug 2010 14:53:48 +0000 (16:53 +0200)
bacula/src/plugins/fd/bpipe-fd.c

index 03c3940a5df815f4eab420e71743a0d86bbf1f02..d6091fce93863fbe248b59391cd03c1bff967f74 100644 (file)
@@ -218,6 +218,10 @@ static bRC handlePluginEvent(bpContext *ctx, bEvent *event, void *value)
     *   what is really going on.
     */
    switch (event->eventType) {
+   case bEventPluginCommand:
+      bfuncs->DebugMessage(ctx, fi, li, dbglvl, 
+                           "bpipe-fd: PluginCommand=%s\n", (char *)value);
+      break;
    case bEventJobStart:
       bfuncs->DebugMessage(ctx, fi, li, dbglvl, "bpipe-fd: JobStart=%s\n", (char *)value);
       break;