summaryrefslogtreecommitdiff
path: root/src/libstddjb/socket_connected.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstddjb/socket_connected.c')
-rw-r--r--src/libstddjb/socket_connected.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstddjb/socket_connected.c b/src/libstddjb/socket_connected.c
index 895eaf3..58ca463 100644
--- a/src/libstddjb/socket_connected.c
+++ b/src/libstddjb/socket_connected.c
@@ -13,7 +13,7 @@ int socket_connected (int s)
if (getpeername(s, (struct sockaddr *)&sa, &dummy) == -1)
{
char ch ;
- fd_read(s, &ch, 1) ; /* sets errno */
+ fd_read(s, &ch, 1) ;
return 0 ;
}
return 1 ;