From: Andre Date: Mon, 6 Mar 2006 20:51:19 +0000 (+0100) Subject: net.h: use proper type for the addrlen parameter of para_accept() also in prototype X-Git-Tag: v0.2.11~38^2~3 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=1e7af5fa9f6fc0e773ae50fa878b18a33ef58bea net.h: use proper type for the addrlen parameter of para_accept() also in prototype An earlier patch changed that parameter from size_t to socklen_t but missed to update also the corresponding prototype in net.h. Thanks to Steffen Klassert for pointing this out. --- diff --git a/net.h b/net.h index ebb3983a..c2f32c78 100644 --- a/net.h +++ b/net.h @@ -37,7 +37,7 @@ int send_bin_buffer(int, const char *, size_t); int send_va_buffer(int, char *, ...); int recv_buffer(int, char *, ssize_t); int recv_bin_buffer(int, char *, ssize_t); -int para_accept(int, void *addr, size_t size); +int para_accept(int, void *addr, socklen_t size); int create_pf_socket(const char *, struct sockaddr_un *, int mod); int init_unix_addr(struct sockaddr_un *, const char *); int recv_cred_buffer(int, char *, size_t, struct ucred *);