diff options
| author | Rob Mensching <rob@firegiant.com> | 2026-01-30 15:18:43 -0800 |
|---|---|---|
| committer | Rob Mensching <rob@firegiant.com> | 2026-01-30 18:38:41 -0800 |
| commit | 7c3c2cad3c5e95fac151debc89c2f5629b4c6b21 (patch) | |
| tree | 6d43cdcef8d50a2c524b26681418cee425a39651 /src/burn/engine/burnpipe.cpp | |
| parent | a16948df3c51f872e750798a967505a93b8439d5 (diff) | |
| download | wix-7c3c2cad3c5e95fac151debc89c2f5629b4c6b21.tar.gz wix-7c3c2cad3c5e95fac151debc89c2f5629b4c6b21.tar.bz2 wix-7c3c2cad3c5e95fac151debc89c2f5629b4c6b21.zip | |
Many small code quality fixes
Diffstat (limited to 'src/burn/engine/burnpipe.cpp')
| -rw-r--r-- | src/burn/engine/burnpipe.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/burn/engine/burnpipe.cpp b/src/burn/engine/burnpipe.cpp index ec85822e..102ccb4f 100644 --- a/src/burn/engine/burnpipe.cpp +++ b/src/burn/engine/burnpipe.cpp | |||
| @@ -446,11 +446,11 @@ extern "C" HRESULT BurnPipeChildConnect( | |||
| 446 | 446 | ||
| 447 | // Try to connect to the parent. | 447 | // Try to connect to the parent. |
| 448 | hr = PipeClientConnect(pConnection->sczName, &pConnection->hPipe); | 448 | hr = PipeClientConnect(pConnection->sczName, &pConnection->hPipe); |
| 449 | ExitOnRootFailure(hr, "Failed to open parent pipe: %ls", sczPipeName) | 449 | ExitOnRootFailure(hr, "Failed to open parent pipe: %ls", pConnection->sczName) |
| 450 | 450 | ||
| 451 | // Verify the parent and notify it that the child connected. | 451 | // Verify the parent and notify it that the child connected. |
| 452 | hr = ChildPipeConnected(pConnection->hPipe, pConnection->sczSecret, &pConnection->dwProcessId); | 452 | hr = ChildPipeConnected(pConnection->hPipe, pConnection->sczSecret, &pConnection->dwProcessId); |
| 453 | ExitOnFailure(hr, "Failed to verify parent pipe: %ls", sczPipeName); | 453 | ExitOnFailure(hr, "Failed to verify parent pipe: %ls", pConnection->sczName); |
| 454 | 454 | ||
| 455 | if (fCompanion) | 455 | if (fCompanion) |
| 456 | { | 456 | { |
| @@ -511,7 +511,7 @@ static HRESULT ChildPipeConnected( | |||
| 511 | hr = StrAlloc(&sczVerificationSecret, cbVerificationSecret / sizeof(WCHAR) + 1); | 511 | hr = StrAlloc(&sczVerificationSecret, cbVerificationSecret / sizeof(WCHAR) + 1); |
| 512 | ExitOnFailure(hr, "Failed to allocate buffer for verification secret."); | 512 | ExitOnFailure(hr, "Failed to allocate buffer for verification secret."); |
| 513 | 513 | ||
| 514 | FileReadHandle(hPipe, reinterpret_cast<LPBYTE>(sczVerificationSecret), cbVerificationSecret); | 514 | hr = FileReadHandle(hPipe, reinterpret_cast<LPBYTE>(sczVerificationSecret), cbVerificationSecret); |
| 515 | ExitOnFailure(hr, "Failed to read verification secret from parent pipe."); | 515 | ExitOnFailure(hr, "Failed to read verification secret from parent pipe."); |
| 516 | 516 | ||
| 517 | // Verify the secrets match. | 517 | // Verify the secrets match. |
