diff options
Diffstat (limited to 'src/client/windows')
-rw-r--r-- | src/client/windows/crash_generation/crash_generation_client.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/windows/crash_generation/crash_generation_client.cc b/src/client/windows/crash_generation/crash_generation_client.cc index 20f7177a..84a686a4 100644 --- a/src/client/windows/crash_generation/crash_generation_client.cc +++ b/src/client/windows/crash_generation/crash_generation_client.cc @@ -178,7 +178,7 @@ bool CrashGenerationClient::RequestUpload(DWORD crash_id) { static_cast<MINIDUMP_TYPE>(NULL), NULL, NULL, NULL, custom_info, NULL, NULL, NULL); DWORD bytes_count = 0; - bool success = WriteFile(pipe, &msg, sizeof(msg), &bytes_count, NULL); + bool success = WriteFile(pipe, &msg, sizeof(msg), &bytes_count, NULL) != 0; CloseHandle(pipe); return success; |