aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/net.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/net.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net.h b/src/net.h
index 31150e8..644520c 100644
--- a/src/net.h
+++ b/src/net.h
@@ -13,7 +13,7 @@ int connect_to_host(const char *host, const char *port);
int send_all(int fd, const void *, size_t);
int send_buf(int fd, const void *, size_t);
-int recv_all(int fd, void *, size_t);
+ssize_t recv_all(int fd, void *, size_t);
int recv_buf(int fd, void **, size_t *);
int recv_static(int fd, void *, size_t);