diff options
Diffstat (limited to 'src/python/nxt_python_asgi_http.c')
| -rw-r--r-- | src/python/nxt_python_asgi_http.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/python/nxt_python_asgi_http.c b/src/python/nxt_python_asgi_http.c index fc489bc1..27b3e0e0 100644 --- a/src/python/nxt_python_asgi_http.c +++ b/src/python/nxt_python_asgi_http.c @@ -45,10 +45,10 @@ static PyObject *nxt_py_asgi_http_done(PyObject *self, PyObject *future); static PyMethodDef nxt_py_asgi_http_methods[] = { - { "receive", nxt_py_asgi_http_receive, METH_NOARGS, 0 }, - { "send", nxt_py_asgi_http_send, METH_O, 0 }, - { "_done", nxt_py_asgi_http_done, METH_O, 0 }, - { NULL, NULL, 0, 0 } + { "receive", nxt_py_asgi_http_receive, METH_NOARGS, NULL }, + { "send", nxt_py_asgi_http_send, METH_O, NULL }, + { "_done", nxt_py_asgi_http_done, METH_O, NULL }, + {} }; static PyAsyncMethods nxt_py_asgi_async_methods = { |
