From 88f2c8c9032e01504256a160a8f55045b2b1d2e2 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 95447e532f..fc26ac00e2 100644 --- a/bacula/src/filed/restore.c +++ b/bacula/src/filed/restore.c @@ -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"), -- 2.39.5