kore

Kore is a web application platform for writing scalable, concurrent web based processes in C or Python.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

commit 73757a29d596f116a08792d0eb2d3d2afffcb195
parent 0aa4769777220a6d777c3ada5f0bb1a7c1a8e054
Author: Joris Vink <joris@coders.se>
Date:   Fri, 15 Nov 2019 07:49:16 +0100

Make dumb compilers happy.

Diffstat:
src/python.c | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/python.c b/src/python.c @@ -1896,6 +1896,10 @@ python_kore_domain(PyObject *self, PyObject *args, PyObject *kwargs) cert = NULL; attach = NULL; +#if defined(KORE_USE_ACME) + acme = 0; +#endif + if (!PyArg_ParseTuple(args, "s", &name)) return (NULL); @@ -1921,7 +1925,6 @@ python_kore_domain(PyObject *self, PyObject *args, PyObject *kwargs) cert = python_string_from_dict(kwargs, "cert"); #if defined(KORE_USE_ACME) - acme = 0; python_bool_from_dict(kwargs, "acme", &acme); if (acme) {