Commit 85c5f9a8 85c5f9a8decef2583674bc957caef1818e9628a9 by Sergey Poznyakoff

Bugfixes.

* libmu_sieve/sieve.y (mu_sieve_compile): Initialize rc.
* python/libmu_py/sieve.c (api_sieve_machine_error_text): Fix
type of length.
1 parent aed829a6
......@@ -606,7 +606,7 @@ mu_sieve_machine_finish (mu_sieve_machine_t mach)
int
mu_sieve_compile (mu_sieve_machine_t mach, const char *name)
{
int rc;
int rc = 0;
mu_sieve_machine_begin (mach, name);
......
......@@ -120,7 +120,7 @@ api_sieve_machine_error_text (PyObject *self, PyObject *args)
mu_stream_t estr;
mu_transport_t trans[2];
PyObject *retval;
size_t length = 0;
mu_off_t length = 0;
if (!PyArg_ParseTuple (args, "O!", &PySieveMachineType, &py_mach))
return NULL;
......