summaryrefslogtreecommitdiffhomepage
path: root/src/perl
diff options
context:
space:
mode:
authorMax Romanov <max.romanov@nginx.com>2020-03-30 14:08:20 +0300
committerMax Romanov <max.romanov@nginx.com>2020-03-30 14:08:20 +0300
commit82b899b1365431951afc1da9b2b30065ac98fc94 (patch)
tree2f206a5e66616a6ad4459851a3f40c070d57630e /src/perl
parentf94e31b294d69df40b59970ef4c721324cd3596e (diff)
downloadunit-82b899b1365431951afc1da9b2b30065ac98fc94.tar.gz
unit-82b899b1365431951afc1da9b2b30065ac98fc94.tar.bz2
Attributing libunit logging function for arguments validation.
Diffstat (limited to 'src/perl')
-rw-r--r--src/perl/nxt_perl_psgi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/perl/nxt_perl_psgi.c b/src/perl/nxt_perl_psgi.c
index 16159b5b..548e6daa 100644
--- a/src/perl/nxt_perl_psgi.c
+++ b/src/perl/nxt_perl_psgi.c
@@ -166,7 +166,7 @@ nxt_perl_psgi_io_error_write(PerlInterpreter *my_perl,
nxt_perl_psgi_input_t *input;
input = (nxt_perl_psgi_input_t *) arg->ctx;
- nxt_unit_req_error(input->req, "Perl: %s", vbuf);
+ nxt_unit_req_error(input->req, "Perl: %s", (const char*) vbuf);
return (long) length;
}