Bugfixes.
* libmu_sieve/sieve.y (mu_sieve_compile): Initialize rc. * python/libmu_py/sieve.c (api_sieve_machine_error_text): Fix type of length.
Showing
2 changed files
with
2 additions
and
2 deletions
... | @@ -606,7 +606,7 @@ mu_sieve_machine_finish (mu_sieve_machine_t mach) | ... | @@ -606,7 +606,7 @@ mu_sieve_machine_finish (mu_sieve_machine_t mach) |
606 | int | 606 | int |
607 | mu_sieve_compile (mu_sieve_machine_t mach, const char *name) | 607 | mu_sieve_compile (mu_sieve_machine_t mach, const char *name) |
608 | { | 608 | { |
609 | int rc; | 609 | int rc = 0; |
610 | 610 | ||
611 | mu_sieve_machine_begin (mach, name); | 611 | mu_sieve_machine_begin (mach, name); |
612 | 612 | ... | ... |
... | @@ -120,7 +120,7 @@ api_sieve_machine_error_text (PyObject *self, PyObject *args) | ... | @@ -120,7 +120,7 @@ api_sieve_machine_error_text (PyObject *self, PyObject *args) |
120 | mu_stream_t estr; | 120 | mu_stream_t estr; |
121 | mu_transport_t trans[2]; | 121 | mu_transport_t trans[2]; |
122 | PyObject *retval; | 122 | PyObject *retval; |
123 | size_t length = 0; | 123 | mu_off_t length = 0; |
124 | 124 | ||
125 | if (!PyArg_ParseTuple (args, "O!", &PySieveMachineType, &py_mach)) | 125 | if (!PyArg_ParseTuple (args, "O!", &PySieveMachineType, &py_mach)) |
126 | return NULL; | 126 | return NULL; | ... | ... |
-
Please register or sign in to post a comment