From a119f18a23589b3df0e6204e91123ef46efd23c0 Mon Sep 17 00:00:00 2001 From: Joris Vink Date: Mon, 21 Oct 2019 13:29:26 +0200 Subject: [PATCH] Adjust to new kore_curl_init(). --- src/python.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/python.c b/src/python.c index 626cc4b..a64893b 100644 --- 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);