diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2014-12-06 21:34:08 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2014-12-06 21:34:08 +0000 |
commit | 08d0b91662aa0e9a5551258edc30ff7a9fad4dde (patch) | |
tree | 006bca6ab5f54717e534fe20c687368b5da85950 /src/libs6/s6-ftrigrd.c | |
parent | 1226738d055f564318a8c94eb7e3b44c0e799093 (diff) | |
download | s6-08d0b91662aa0e9a5551258edc30ff7a9fad4dde.tar.xz |
someday I'll test BEFORE committing
Diffstat (limited to 'src/libs6/s6-ftrigrd.c')
-rw-r--r-- | src/libs6/s6-ftrigrd.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) ; |