From c9b991c7512a9c7d5cc8efe2b358c3cae4d37963 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Wed, 21 Jul 2010 17:17:51 +0200 Subject: [PATCH] Ignore STREAM_RESTORE_OBJECTS returned by SD to FD --- bacula/src/filed/restore.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bacula/src/filed/restore.c b/bacula/src/filed/restore.c index 649862df4c..31ed63a4f4 100644 --- a/bacula/src/filed/restore.c +++ b/bacula/src/filed/restore.c @@ -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"), -- 2.39.5