Adjust to new kore_curl_init().

This commit is contained in:
Joris Vink 2019-10-21 13:29:26 +02:00
parent b64ae5d111
commit a119f18a23
1 changed files with 1 additions and 1 deletions

View File

@ -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);