aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/net.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/net.h')
-rw-r--r--src/net.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net.h b/src/net.h
index 5afe4b7..239dc85 100644
--- a/src/net.h
+++ b/src/net.h
@@ -12,7 +12,7 @@ int net_connect(const char *host, const char *port);
int net_send_all(int fd, const void *, size_t);
int net_send_buf(int fd, const void *, uint32_t);
-ssize_t net_recv_all(int fd, void *, size_t);
+int net_recv_all(int fd, void *, size_t);
int net_recv_buf(int fd, void **, uint32_t *);
int net_recv_static(int fd, void *, size_t);