File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -21,12 +21,12 @@ impl Op<SendMsgZc, MultiCQEFuture> {
2121 x. handle ( ) . expect ( "Not in a runtime context" ) . submit_op (
2222 SendMsgZc {
2323 fd : fd. clone ( ) ,
24- msghdr : msghdr. clone ( ) ,
24+ msghdr : ( * msghdr) . clone ( ) ,
2525 bytes : 0 ,
2626 } ,
2727 |sendmsg_zc| {
2828 opcode:: SendMsgZc :: new (
29- types:: Fd ( sendmsg_zc. fd . raw_fd ( ) ) ,
29+ types:: Fd ( sendmsg_zc. fd . raw_fd ( ) ) ,
3030 & sendmsg_zc. msghdr as * const _ ,
3131 )
3232 . build ( )
Original file line number Diff line number Diff line change @@ -148,8 +148,8 @@ impl Socket {
148148 }
149149
150150 pub ( crate ) async fn sendmsg_zc (
151- & self ,
152- msghdr : & libc:: msghdr
151+ & self ,
152+ msghdr : & libc:: msghdr ,
153153 ) -> ( libc:: msghdr , io:: Result < usize > ) {
154154 let op = Op :: sendmsg_zc ( & self . fd , msghdr) . unwrap ( ) ;
155155 op. await
You can’t perform that action at this time.
0 commit comments