mirror of https://git.kore.io/kore.git
Adjust to new kore_curl_init().
This commit is contained in:
parent
b64ae5d111
commit
a119f18a23
|
@ -5451,7 +5451,7 @@ pyhttp_client_request(struct pyhttp_client *client, int m, PyObject *kwargs)
|
||||||
if (op == NULL)
|
if (op == NULL)
|
||||||
return (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);
|
Py_DECREF((PyObject *)op);
|
||||||
PyErr_SetString(PyExc_RuntimeError, "failed to setup call");
|
PyErr_SetString(PyExc_RuntimeError, "failed to setup call");
|
||||||
return (NULL);
|
return (NULL);
|
||||||
|
|
Loading…
Reference in New Issue