Correct some value converting strangenesses.

This commit is contained in:
Georg Brandl 2006-05-29 19:39:45 +00:00
parent 162997efb1
commit 2cfaa34dfa
4 changed files with 7 additions and 7 deletions

View file

@ -644,7 +644,7 @@ binascii_rledecode_hqx(PyObject *self, PyObject *args)
/* Empty string is a special case */
if ( in_len == 0 )
return Py_BuildValue("s", "");
return PyString_FromString("");
/* Allocate a buffer of reasonable size. Resized when needed */
out_len = in_len*2;