4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-02-20 16:01:10 +08:00

revert botched checkin

This commit is contained in:
Christopher Faylor 2002-11-28 00:41:02 +00:00
parent 7007fd238f
commit ae799c9931

View File

@ -664,12 +664,12 @@ fhandler_socket::readv (const struct iovec *const iov, const int iovcnt,
{
struct msghdr msg =
{
.msg_name: NULL,
.msg_namelen: 0,
.msg_iov: (struct iovec *) iov, // const_cast
.msg_iovlen: iovcnt,
.msg_accrights: NULL,
.msg_accrightslen: 0
msg_name: NULL,
msg_namelen: 0,
msg_iov: (struct iovec *) iov, // const_cast
msg_iovlen: iovcnt,
msg_accrights: NULL,
msg_accrightslen: 0
};
return recvmsg (&msg, 0, tot);