diff options
author | Igor Pavlov <ipavlov@users.sourceforge.net> | 2007-10-24 04:00:00 +0400 |
---|---|---|
committer | Kornel LesiĆski <kornel@geekhood.net> | 2016-05-28 02:15:55 +0300 |
commit | acd742622d1e0daf50ae815bec4ddb2143bafbf5 (patch) | |
tree | 9726a4b8de0935af6c892a2b8d632284f37570c4 /CPP/7zip/UI/Agent | |
parent | b67ffe691bddceb89b47dd09a60203b77a2b72ed (diff) |
4.56 beta
Diffstat (limited to 'CPP/7zip/UI/Agent')
-rwxr-xr-x | CPP/7zip/UI/Agent/AgentOut.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/CPP/7zip/UI/Agent/AgentOut.cpp b/CPP/7zip/UI/Agent/AgentOut.cpp index 956b0bbd..4c6ba1a1 100755 --- a/CPP/7zip/UI/Agent/AgentOut.cpp +++ b/CPP/7zip/UI/Agent/AgentOut.cpp @@ -299,7 +299,8 @@ STDMETHODIMP CAgent::DoOperation( RINOK(CopyBlock(sfxStream, outStream)); } - return outArchive->UpdateItems(outStream, updatePairs2.Size(),updateCallback); + RINOK(outArchive->UpdateItems(outStream, updatePairs2.Size(),updateCallback)); + return outStreamSpec->Close(); } STDMETHODIMP CAgent::DoOperation2( @@ -362,7 +363,8 @@ HRESULT CAgent::CommonUpdate( return E_FAIL; } - return outArchive->UpdateItems(outStream, numUpdateItems, updateCallback); + RINOK(outArchive->UpdateItems(outStream, numUpdateItems, updateCallback)); + return outStreamSpec->Close(); } |