diff options
Diffstat (limited to 'src/burn/engine/plan.cpp')
-rw-r--r-- | src/burn/engine/plan.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/burn/engine/plan.cpp b/src/burn/engine/plan.cpp index f3d37978..f77e8e2a 100644 --- a/src/burn/engine/plan.cpp +++ b/src/burn/engine/plan.cpp | |||
@@ -479,7 +479,7 @@ extern "C" HRESULT PlanForwardCompatibleBundles( | |||
479 | 479 | ||
480 | if (!fIgnoreBundle) | 480 | if (!fIgnoreBundle) |
481 | { | 481 | { |
482 | hr = PseudoBundleInitializePassthrough(&pPlan->forwardCompatibleBundle, pPlan->pInternalCommand, pPlan->pCommand, NULL, &pRelatedBundle->package); | 482 | hr = PseudoBundleInitializePassthrough(&pPlan->forwardCompatibleBundle, pPlan->pInternalCommand, pPlan->pCommand, &pRelatedBundle->package); |
483 | ExitOnFailure(hr, "Failed to initialize pass through bundle."); | 483 | ExitOnFailure(hr, "Failed to initialize pass through bundle."); |
484 | 484 | ||
485 | pPlan->fEnabledForwardCompatibleBundle = TRUE; | 485 | pPlan->fEnabledForwardCompatibleBundle = TRUE; |
@@ -1780,11 +1780,10 @@ extern "C" HRESULT PlanSetResumeCommand( | |||
1780 | ) | 1780 | ) |
1781 | { | 1781 | { |
1782 | HRESULT hr = S_OK; | 1782 | HRESULT hr = S_OK; |
1783 | BOOTSTRAPPER_COMMAND* pCommand = pPlan->pCommand; | ||
1784 | 1783 | ||
1785 | // build the resume command-line. | 1784 | // build the resume command-line. |
1786 | hr = CoreRecreateCommandLine(&pRegistration->sczResumeCommandLine, pPlan->action, pPlan->pInternalCommand, pCommand, pCommand->relationType, pCommand->fPassthrough, pLog->sczPath); | 1785 | hr = CoreCreateResumeCommandLine(&pRegistration->sczResumeCommandLine, pPlan, pLog); |
1787 | ExitOnFailure(hr, "Failed to recreate resume command-line."); | 1786 | ExitOnFailure(hr, "Failed to create resume command-line."); |
1788 | 1787 | ||
1789 | LExit: | 1788 | LExit: |
1790 | return hr; | 1789 | return hr; |