aboutsummaryrefslogtreecommitdiffstats
path: root/socket.c
diff options
context:
space:
mode:
Diffstat (limited to 'socket.c')
-rw-r--r--socket.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/socket.c b/socket.c
index bef0deea..47f074dd 100644
--- a/socket.c
+++ b/socket.c
@@ -1018,6 +1018,8 @@ static ssize_t cygwin_read(int sock, void *buf, size_t count)
return(-1);
}
}
+
+ return count;
}
#endif /* __CYGWIN__ */