Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

unix: fix a few compiler warnings

  • Loading branch information...
ry committed Oct 12, 2011
1 parent 81303a7 commit c903bc3f320db88754a2b46da775f9bb2e65710b
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/unix/stream.c
@@ -482,7 +482,6 @@ static void uv__read(uv_stream_t* stream) {
struct msghdr msg;
struct cmsghdr* cmsg;
char cmsg_space[64];
int received_fd = -1;
struct ev_loop* ev = stream->loop->ev;

/* XXX: Maybe instead of having UV_READING we just test if
@@ -564,7 +563,7 @@ static void uv__read(uv_stream_t* stream) {
return;
} else {
/* Successful read */
size_t buflen = buf.len;
ssize_t buflen = buf.len;

if (stream->read_cb) {
stream->read_cb(stream, nread, buf);

0 comments on commit c903bc3

Please sign in to comment.
You can’t perform that action at this time.