]> git.sur5r.net Git - bacula/bacula/commitdiff
Ignore STREAM_RESTORE_OBJECTS returned by SD to FD
authorKern Sibbald <kern@sibbald.com>
Wed, 21 Jul 2010 15:17:51 +0000 (17:17 +0200)
committerKern Sibbald <kern@sibbald.com>
Thu, 22 Jul 2010 13:51:11 +0000 (15:51 +0200)
bacula/src/filed/restore.c

index 649862df4c87438454749760028ab260b88b8c26..31ed63a4f4d4d56c765a8becbcfc8d6ea017750b 100644 (file)
@@ -760,6 +760,9 @@ void do_restore(JCR *jcr)
          plugin_name_stream(jcr, sd->msg);
          break;
 
+      case STREAM_RESTORE_OBJECT:
+         break;                    /* these are sent by Director */
+
       default:
          close_previous_stream(rctx);
          Jmsg(jcr, M_ERROR, 0, _("Unknown stream=%d ignored. This shouldn't happen!\n"),