aboutsummaryrefslogtreecommitdiff
path: root/src/libutil/compression.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2018-03-22 13:46:19 +0100
committerEelco Dolstra <edolstra@gmail.com>2018-03-22 13:46:19 +0100
commit28eb9621cc0c6715c99111de6990726f38d0341f (patch)
tree3be3f85f470079a055bc36041b0e23d6fa890d34 /src/libutil/compression.cc
parented87fd17dde1cb3366739e0eecc5716fc7bd7c3f (diff)
Fix build
Diffstat (limited to 'src/libutil/compression.cc')
-rw-r--r--src/libutil/compression.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libutil/compression.cc b/src/libutil/compression.cc
index e7fedcbdc..81cb5e98c 100644
--- a/src/libutil/compression.cc
+++ b/src/libutil/compression.cc
@@ -134,8 +134,8 @@ static void decompressBrotli(Source & source, Sink & sink)
{
#if !HAVE_BROTLI
RunOptions options(BROTLI, {"-d"});
- options.stdin = &source;
- options.stdout = &sink;
+ options.standardIn = &source;
+ options.standardOut = &sink;
runProgram2(options);
#else
auto *s = BrotliDecoderCreateInstance(nullptr, nullptr, nullptr);