Commit 5ad517a7 authored by Benjamin Peterson's avatar Benjamin Peterson

NUL -> NULL

parent ae13c88d
...@@ -1897,7 +1897,7 @@ PyUnicode_FSConverter(PyObject* arg, void* addr) ...@@ -1897,7 +1897,7 @@ PyUnicode_FSConverter(PyObject* arg, void* addr)
size = PyBytes_GET_SIZE(output); size = PyBytes_GET_SIZE(output);
data = PyBytes_AS_STRING(output); data = PyBytes_AS_STRING(output);
if (size != strlen(data)) { if (size != strlen(data)) {
PyErr_SetString(PyExc_TypeError, "embedded NUL character"); PyErr_SetString(PyExc_TypeError, "embedded NULL character");
Py_DECREF(output); Py_DECREF(output);
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment