Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xiph.Org
Icecast-Server
Commits
2cb0db8e
Commit
2cb0db8e
authored
Apr 08, 2003
by
Michael Smith
Browse files
Don't pass 0x1 as a pointer to a syscall. oops.
svn path=/trunk/net/; revision=4593
parent
7094a0e6
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/net/sock.c
View file @
2cb0db8e
...
...
@@ -208,7 +208,7 @@ int sock_set_nodelay(sock_t sock)
{
int
nodelay
=
1
;
return
setsockopt
(
sock
,
IPPROTO_TCP
,
TCP_NODELAY
,
(
void
*
)
nodelay
,
return
setsockopt
(
sock
,
IPPROTO_TCP
,
TCP_NODELAY
,
(
void
*
)
&
nodelay
,
sizeof
(
int
));
}
...
...
Write
Preview
Supports
Markdown
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