diff options
author | Max Romanov <max.romanov@nginx.com> | 2022-02-09 10:37:51 +0300 |
---|---|---|
committer | Max Romanov <max.romanov@nginx.com> | 2022-02-09 10:37:51 +0300 |
commit | bf6282b16ca192ace20b35711ed9b8a8014e63d4 (patch) | |
tree | 52edfdec8e4faf007686722ba1c9356597f92cbb /src/python | |
parent | 2b5941df74806d344c59ec0ca126b81cc7bbffe1 (diff) | |
download | unit-bf6282b16ca192ace20b35711ed9b8a8014e63d4.tar.gz unit-bf6282b16ca192ace20b35711ed9b8a8014e63d4.tar.bz2 |
Python: fixing debug message field type.
Introduced in the 78864c9d5ba8 commit.
Sorry about that.
Diffstat (limited to 'src/python')
-rw-r--r-- | src/python/nxt_python_asgi.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/python/nxt_python_asgi.c b/src/python/nxt_python_asgi.c index 2d3efc7d..91af8f4b 100644 --- a/src/python/nxt_python_asgi.c +++ b/src/python/nxt_python_asgi.c @@ -167,7 +167,8 @@ nxt_python_asgi_init(nxt_unit_init_t *init, nxt_python_proto_t *proto) func = nxt_python_asgi_get_func(nxt_py_targets->target[i].application); if (nxt_slow_path(func == NULL)) { nxt_unit_debug(NULL, "asgi: cannot find function for callable, " - "unable to check for legacy mode (#%d)", i); + "unable to check for legacy mode (#%d)", + (int) i); continue; } |