diff options
author | Chris Wilson <chris+github@qwirx.com> | 2011-09-29 08:50:52 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2011-09-29 08:50:52 +0000 |
commit | b2de3ee8b57308a7359e5e5215f164946a7f9dfd (patch) | |
tree | caefdaa6a46310bc0d2bd8cfae6176e610cd5bb2 /lib/backupclient | |
parent | aa38c1d468c20bf35fca9123246a0506d6f8eca9 (diff) |
Flush stream after restore fails, thanks to Sune Molgaard for reporting.
Diffstat (limited to 'lib/backupclient')
-rw-r--r-- | lib/backupclient/BackupClientRestore.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/backupclient/BackupClientRestore.cpp b/lib/backupclient/BackupClientRestore.cpp index 4993f6ae..43ad73f3 100644 --- a/lib/backupclient/BackupClientRestore.cpp +++ b/lib/backupclient/BackupClientRestore.cpp @@ -569,6 +569,8 @@ static int BackupClientRestoreDir(BackupProtocolClient &rConnection, if (Params.ContinueAfterErrors) { Params.ContinuedAfterError = true; + // ensure that protocol remains usable + objectStream->Flush(); } else { |