Skip to content

Commit c7c9436

Browse files
Merge pull request #137 from sergey-dryabzhinsky/sergey-dryabzhinsky-patch-1
Update python-zstd.c
2 parents c076b50 + 25602d7 commit c7c9436

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/python-zstd.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ static PyObject *py_zstd_check(PyObject* self, PyObject *args)
266266
dest_size += frame_size;
267267
}
268268
if (dest_size>=source_size)
269-
Py_BuildValue("i", 0);
269+
return Py_BuildValue("i", 0);
270270
return Py_BuildValue("i", 1);
271271
}
272272

0 commit comments

Comments
 (0)