Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ZerXes
Tor
Commits
1a2b6c2a
Commit
1a2b6c2a
authored
Dec 27, 2007
by
Nick Mathewson
🐛
Browse files
r17407@catbus: nickm | 2007-12-27 00:18:31 -0500
Fix windows compile error svn:r12995
parent
119b4e1e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/or/buffers.c
View file @
1a2b6c2a
...
...
@@ -506,7 +506,7 @@ read_to_chunk(buf_t *buf, chunk_t *chunk, int fd, size_t at_most,
tor_assert
(
CHUNK_REMAINING_CAPACITY
(
chunk
)
>=
at_most
);
read_result
=
tor_socket_recv
(
fd
,
CHUNK_WRITE_PTR
(
chunk
),
at_most
,
0
);
if
(
read_result
<
0
)
{
int
e
=
tor_socket_errno
(
s
);
int
e
=
tor_socket_errno
(
fd
);
if
(
!
ERRNO_IS_EAGAIN
(
e
))
{
/* it's a real error */
#ifdef MS_WINDOWS
if
(
e
==
WSAENOBUFS
)
...
...
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