summaryrefslogtreecommitdiff
path: root/src/libstddjb/fd_recv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstddjb/fd_recv.c')
-rw-r--r--src/libstddjb/fd_recv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstddjb/fd_recv.c b/src/libstddjb/fd_recv.c
index 4eb8659..781daa5 100644
--- a/src/libstddjb/fd_recv.c
+++ b/src/libstddjb/fd_recv.c
@@ -7,8 +7,8 @@
ssize_t fd_recv (int fd, char *buf, size_t len, unsigned int flags)
{
- register ssize_t r ;
- do r = recv(fd, buf, len, (int)flags) ;
+ ssize_t r ;
+ do r = recv(fd, buf, len, flags) ;
while ((r == -1) && (errno == EINTR)) ;
return r ;
}