Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
b135adf1
Commit
b135adf1
authored
Jul 10, 1999
by
Howard Abrams
Committed by
Alexandre Julliard
Jul 10, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Renamed static global variable 'iovec' to 'myiovec'.
parent
13277480
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
socket.c
server/socket.c
+6
-6
No files found.
server/socket.c
View file @
b135adf1
...
@@ -38,8 +38,8 @@ struct client
...
@@ -38,8 +38,8 @@ struct client
/* socket communication static structures */
/* socket communication static structures */
static
struct
iovec
iovec
;
static
struct
iovec
my
iovec
;
static
struct
msghdr
msghdr
=
{
NULL
,
0
,
&
iovec
,
1
,
};
static
struct
msghdr
msghdr
=
{
NULL
,
0
,
&
my
iovec
,
1
,
};
#ifndef HAVE_MSGHDR_ACCRIGHTS
#ifndef HAVE_MSGHDR_ACCRIGHTS
struct
cmsg_fd
struct
cmsg_fd
{
{
...
@@ -73,8 +73,8 @@ static int do_write( struct client *client )
...
@@ -73,8 +73,8 @@ static int do_write( struct client *client )
cmsg
.
fd
=
client
->
pass_fd
;
cmsg
.
fd
=
client
->
pass_fd
;
#endif
/* HAVE_MSGHDR_ACCRIGHTS */
#endif
/* HAVE_MSGHDR_ACCRIGHTS */
iovec
.
iov_base
=
(
void
*
)
&
client
->
res
;
my
iovec
.
iov_base
=
(
void
*
)
&
client
->
res
;
iovec
.
iov_len
=
sizeof
(
client
->
res
);
my
iovec
.
iov_len
=
sizeof
(
client
->
res
);
ret
=
sendmsg
(
client
->
select
.
fd
,
&
msghdr
,
0
);
ret
=
sendmsg
(
client
->
select
.
fd
,
&
msghdr
,
0
);
close
(
client
->
pass_fd
);
close
(
client
->
pass_fd
);
...
@@ -113,8 +113,8 @@ static void do_read( struct client *client )
...
@@ -113,8 +113,8 @@ static void do_read( struct client *client )
assert
(
client
->
pass_fd
==
-
1
);
assert
(
client
->
pass_fd
==
-
1
);
iovec
.
iov_base
=
(
void
*
)
&
req
;
my
iovec
.
iov_base
=
(
void
*
)
&
req
;
iovec
.
iov_len
=
sizeof
(
req
);
my
iovec
.
iov_len
=
sizeof
(
req
);
ret
=
recvmsg
(
client
->
select
.
fd
,
&
msghdr
,
0
);
ret
=
recvmsg
(
client
->
select
.
fd
,
&
msghdr
,
0
);
#ifndef HAVE_MSGHDR_ACCRIGHTS
#ifndef HAVE_MSGHDR_ACCRIGHTS
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment