aboutsummaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorEugene Kliuchnikov <eustas@google.com>2016-09-21 16:02:32 +0200
committerGitHub <noreply@github.com>2016-09-21 16:02:32 +0200
commit86fdb6837341e67e9545032dfd310b51b83529ea (patch)
treee9243d75f746ac63edca484e1349ccc497ee9e51 /python
parent7cbdb4aa0c321b27d360acb462854ef023c7ba20 (diff)
downloadbrotli-86fdb6837341e67e9545032dfd310b51b83529ea.zip
brotli-86fdb6837341e67e9545032dfd310b51b83529ea.tar.gz
brotli-86fdb6837341e67e9545032dfd310b51b83529ea.tar.bz2
Update brotlimodule.cc
Diffstat (limited to 'python')
-rw-r--r--python/brotlimodule.cc2
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 {