@@ -483,7 +483,7 @@ namespace asyncpp::io::detail {
483
483
}
484
484
485
485
bool io_engine_iocp::enqueue_recv_from (socket_handle_t socket, void * buf, size_t len, endpoint* source,
486
- completion_data* cd) {
486
+ completion_data* cd) {
487
487
auto state = cd->es_init <iocp_engine_state>();
488
488
state->handle = (HANDLE)socket;
489
489
memset (&state->recv_from_sa , 0 , sizeof (state->recv_from_sa ));
@@ -509,7 +509,7 @@ namespace asyncpp::io::detail {
509
509
}
510
510
511
511
bool io_engine_iocp::enqueue_send_to (socket_handle_t socket, const void * buf, size_t len, endpoint dst,
512
- completion_data* cd) {
512
+ completion_data* cd) {
513
513
auto state = cd->es_init <iocp_engine_state>();
514
514
state->handle = (HANDLE)socket;
515
515
@@ -590,8 +590,7 @@ namespace asyncpp::io::detail {
590
590
return (static_cast <uint64_t >(high) << 32 ) + res;
591
591
}
592
592
593
- bool io_engine_iocp::enqueue_readv (file_handle_t fd, void * buf, size_t len, uint64_t offset,
594
- completion_data* cd) {
593
+ bool io_engine_iocp::enqueue_readv (file_handle_t fd, void * buf, size_t len, uint64_t offset, completion_data* cd) {
595
594
auto state = cd->es_init <iocp_engine_state>();
596
595
state->handle = fd;
597
596
state->overlapped .Offset = offset & 0xffffffff ;
@@ -609,7 +608,7 @@ namespace asyncpp::io::detail {
609
608
}
610
609
611
610
bool io_engine_iocp::enqueue_writev (file_handle_t fd, const void * buf, size_t len, uint64_t offset,
612
- completion_data* cd) {
611
+ completion_data* cd) {
613
612
auto state = cd->es_init <iocp_engine_state>();
614
613
state->handle = fd;
615
614
state->overlapped .Offset = offset & 0xffffffff ;
0 commit comments