revert botched checkin

This commit is contained in:
Christopher Faylor 2002-11-28 00:41:02 +00:00
parent 7007fd238f
commit ae799c9931
1 changed files with 6 additions and 6 deletions

View File

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