]> 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)
committerEric Bollengier <eric@eb.homelinux.org>
Mon, 2 Aug 2010 14:53:58 +0000 (16:53 +0200)
bacula/src/filed/restore.c

index 95447e532f97113ad034a35faedeae4ab57ec49a..fc26ac00e247eab517ac24f09329a450efac8867 100644 (file)
@@ -762,6 +762,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"),