wesnothd, campaignd: Fix warning about uninitialized field on _WIN32
This commit is contained in:
parent
de48b9fbb1
commit
8a905134a4
1 changed files with 1 additions and 1 deletions
|
@ -249,7 +249,7 @@ void async_send_file(socket_ptr socket, const std::string& filename, Handler han
|
|||
throw std::runtime_error("Failed to open the file");
|
||||
}
|
||||
|
||||
sendfile_op<Handler, ErrorHandler> op = { socket, in_file, OVERLAPPED(), handler, error_handler, false };
|
||||
sendfile_op<Handler, ErrorHandler> op = { socket, in_file, OVERLAPPED(), handler, error_handler, false, nullptr };
|
||||
|
||||
HANDLE event = CreateEvent(nullptr, TRUE, TRUE, nullptr);
|
||||
if (GetLastError() != ERROR_SUCCESS)
|
||||
|
|
Loading…
Add table
Reference in a new issue