mirror of
https://github.com/jorisvink/kore
synced 2025-03-09 04:29:02 -04:00
use correct format specifier.
This commit is contained in:
parent
55aaef875d
commit
355cf87b93
@ -5744,7 +5744,7 @@ python_kore_curl_setopt(struct pycurl_data *data, long opt, PyObject *value)
|
||||
}
|
||||
|
||||
if (py_curlopt[i].name == NULL) {
|
||||
PyErr_Format(PyExc_RuntimeError, "invalid option '%d'", opt);
|
||||
PyErr_Format(PyExc_RuntimeError, "invalid option '%ld'", opt);
|
||||
return (NULL);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user