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