commit a119f18a23589b3df0e6204e91123ef46efd23c0
parent b64ae5d111c187bd01c79d1d1050168596988c22
Author: Joris Vink <joris@coders.se>
Date: Mon, 21 Oct 2019 13:29:26 +0200
Adjust to new kore_curl_init().
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/python.c b/src/python.c
@@ -5451,7 +5451,7 @@ pyhttp_client_request(struct pyhttp_client *client, int m, PyObject *kwargs)
if (op == NULL)
return (NULL);
- if (!kore_curl_init(&op->curl, client->url)) {
+ if (!kore_curl_init(&op->curl, client->url, KORE_CURL_ASYNC)) {
Py_DECREF((PyObject *)op);
PyErr_SetString(PyExc_RuntimeError, "failed to setup call");
return (NULL);