fd: Make write_all() receive the length by value.
[paraslash.git] / fd.h
diff --git a/fd.h b/fd.h
index c87c0ea6d1c419f45d4894303fdbf1e73f8a56d4..b12067ec404976f9c6f96345c1a4bd4b21cb2d13 100644 (file)
--- a/fd.h
+++ b/fd.h
@@ -6,7 +6,7 @@
 
 /** \file fd.h exported symbols from fd.c */
 
-int write_all(int fd, const char *buf, size_t *len);
+int write_all(int fd, const char *buf, size_t len);
 int file_exists(const char *);
 int para_select(int n, fd_set *readfds, fd_set *writefds,
                struct timeval *timeout_tv);