From 6319ac5225aec738f134f338f68109822581bff1 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Sat, 6 Dec 2014 17:51:14 +0000 Subject: Rewrite unixmessage_receiver without buffer, only cbuffer --- src/libstddjb/buffer_read.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/libstddjb/buffer_read.c') diff --git a/src/libstddjb/buffer_read.c b/src/libstddjb/buffer_read.c index 150bc15..88003b4 100644 --- a/src/libstddjb/buffer_read.c +++ b/src/libstddjb/buffer_read.c @@ -3,13 +3,12 @@ #include #include #include -#include #include +#include -int buffer_read (int fd, siovec_t const *v, unsigned int n, void *aux) +int buffer_read (int fd, siovec_t const *v, unsigned int n) { struct iovec iov[n] ; iovec_from_siovec(iov, v, n) ; - (void)aux ; return fd_readv(fd, iov, n) ; } -- cgit v1.2.3