From 08d0b91662aa0e9a5551258edc30ff7a9fad4dde Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Sat, 6 Dec 2014 21:34:08 +0000 Subject: someday I'll test BEFORE committing --- src/libs6/s6-ftrigrd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs6/s6-ftrigrd.c b/src/libs6/s6-ftrigrd.c index 50ced0f..a46b0ec 100644 --- a/src/libs6/s6-ftrigrd.c +++ b/src/libs6/s6-ftrigrd.c @@ -166,7 +166,7 @@ static int parse_protocol (unixmessage_t const *m, void *context) answer(errno) ; break ; } - if (!buffer_init(&buffer_read, f.trig.fd, f.buf, FTRIGRD_BUFSIZE)) + if (!buffer_init(&f.b, &buffer_read, f.trig.fd, f.buf, FTRIGRD_BUFSIZE)) { ftrigio_deepfree(&f) ; answer(errno) ; -- cgit v1.2.3