s6

Mirror/fork of https://skarnet.org/software/s6/
git clone https://ccx.te2000.cz/git/s6
Log | Files | Refs | README | LICENSE

commit 08d0b91662aa0e9a5551258edc30ff7a9fad4dde
parent 1226738d055f564318a8c94eb7e3b44c0e799093
Author: Laurent Bercot <ska-skaware@skarnet.org>
Date:   Sat,  6 Dec 2014 21:34:08 +0000

someday I'll test BEFORE committing

Diffstat:
Msrc/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 @@ -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) ;