Skip to content

Commit

Permalink
[brotlimodule.cc] add missing return to output_callback function
Browse files Browse the repository at this point in the history
  • Loading branch information
Cosimo Lupo committed Mar 16, 2015
1 parent 0ff8aae commit 4a927bc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/brotlimodule.cc
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ static PyObject* brotli_compress(PyObject *self, PyObject *args) {
int output_callback(void* data, const uint8_t* buf, size_t count) {
std::vector<uint8_t> *output = (std::vector<uint8_t> *)data;
output->insert(output->end(), buf, buf + count);
return (int)count;
}

PyDoc_STRVAR(decompress__doc__,
Expand Down

0 comments on commit 4a927bc

Please sign in to comment.