From bf6282b16ca192ace20b35711ed9b8a8014e63d4 Mon Sep 17 00:00:00 2001 From: Max Romanov Date: Wed, 9 Feb 2022 10:37:51 +0300 Subject: Python: fixing debug message field type. Introduced in the 78864c9d5ba8 commit. Sorry about that. --- src/python/nxt_python_asgi.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/python/nxt_python_asgi.c') 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; } -- cgit