From 49d8fa1058aaf23c29e074b2314492ae40d2f557 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Tue, 21 Feb 2017 12:05:07 +0000 Subject: Types change: big pass on libstddjb and libunixonacid libdatastruct still missing, library still not functional --- src/libstddjb/socket_connected.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libstddjb/socket_connected.c') 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 ; -- cgit v1.2.3