Commit b135adf1 authored by Howard Abrams's avatar Howard Abrams Committed by Alexandre Julliard

Renamed static global variable 'iovec' to 'myiovec'.

parent 13277480
......@@ -38,8 +38,8 @@ struct client
/* socket communication static structures */
static struct iovec iovec;
static struct msghdr msghdr = { NULL, 0, &iovec, 1, };
static struct iovec myiovec;
static struct msghdr msghdr = { NULL, 0, &myiovec, 1, };
#ifndef HAVE_MSGHDR_ACCRIGHTS
struct cmsg_fd
{
......@@ -73,8 +73,8 @@ static int do_write( struct client *client )
cmsg.fd = client->pass_fd;
#endif /* HAVE_MSGHDR_ACCRIGHTS */
iovec.iov_base = (void *)&client->res;
iovec.iov_len = sizeof(client->res);
myiovec.iov_base = (void *)&client->res;
myiovec.iov_len = sizeof(client->res);
ret = sendmsg( client->select.fd, &msghdr, 0 );
close( client->pass_fd );
......@@ -113,8 +113,8 @@ static void do_read( struct client *client )
assert( client->pass_fd == -1 );
iovec.iov_base = (void *)&req;
iovec.iov_len = sizeof(req);
myiovec.iov_base = (void *)&req;
myiovec.iov_len = sizeof(req);
ret = recvmsg( client->select.fd, &msghdr, 0 );
#ifndef HAVE_MSGHDR_ACCRIGHTS
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment