1
0
mirror of https://git.kore.io/kore.git synced 2024-11-12 05:10:48 +01:00

use correct format specifier.

This commit is contained in:
Joris Vink 2021-08-27 10:06:45 +02:00
parent 55aaef875d
commit 355cf87b93

View File

@ -5744,7 +5744,7 @@ python_kore_curl_setopt(struct pycurl_data *data, long opt, PyObject *value)
} }
if (py_curlopt[i].name == NULL) { if (py_curlopt[i].name == NULL) {
PyErr_Format(PyExc_RuntimeError, "invalid option '%d'", opt); PyErr_Format(PyExc_RuntimeError, "invalid option '%ld'", opt);
return (NULL); return (NULL);
} }