diff options
author | Eugene Kliuchnikov <eustas@google.com> | 2016-09-21 16:02:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-21 16:02:32 +0200 |
commit | 86fdb6837341e67e9545032dfd310b51b83529ea (patch) | |
tree | e9243d75f746ac63edca484e1349ccc497ee9e51 /python | |
parent | 7cbdb4aa0c321b27d360acb462854ef023c7ba20 (diff) | |
download | brotli-86fdb6837341e67e9545032dfd310b51b83529ea.zip brotli-86fdb6837341e67e9545032dfd310b51b83529ea.tar.gz brotli-86fdb6837341e67e9545032dfd310b51b83529ea.tar.bz2 |
Update brotlimodule.cc
Diffstat (limited to 'python')
-rw-r--r-- | python/brotlimodule.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/brotlimodule.cc b/python/brotlimodule.cc index e7b8b77..1d3b208 100644 --- a/python/brotlimodule.cc +++ b/python/brotlimodule.cc @@ -238,7 +238,7 @@ static PyObject* brotli_decompress(PyObject *self, PyObject *args, PyObject *key if (used_out != 0) output.insert(output.end(), buffer, buffer + used_out); } - ok = result == BROTLI_RESULT_SUCCESS; + ok = result == BROTLI_DECODER_RESULT_SUCCESS; if (ok) { ret = PyBytes_FromStringAndSize((char*)(output.size() ? &output[0] : NULL), output.size()); } else { |