Skip to content

Commit

Permalink
libc::recvmmsg
Browse files Browse the repository at this point in the history
  • Loading branch information
mxinden committed Aug 10, 2024
1 parent 5442ad8 commit 6028183
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions quinn-udp/src/unix.rs
Original file line number Diff line number Diff line change
Expand Up @@ -449,8 +449,7 @@ unsafe fn recvmmsg_with_fallback(

#[cfg(not(any(target_os = "freebsd", target_os = "netbsd")))]
{
let ret =
libc::syscall(libc::SYS_recvmmsg, sockfd, msgvec, vlen, flags, timeout) as libc::c_int;
let ret = libc::recvmmsg(sockfd, msgvec, vlen, flags, timeout) as libc::c_int;
if ret != -1 {
return ret;
}
Expand Down

0 comments on commit 6028183

Please sign in to comment.