mirror of
https://github.com/nginx/nginx.git
synced 2024-12-13 11:09:06 +08:00
fix libxml2 error message
This commit is contained in:
parent
2cc13965a3
commit
543151b300
@ -720,7 +720,7 @@ ngx_http_xslt_sax_error(void *data, const char *msg, ...)
|
||||
while (--n && (buf[n] == CR || buf[n] == LF)) { /* void */ }
|
||||
|
||||
ngx_log_error(NGX_LOG_ERR, ctx->request->connection->log, 0,
|
||||
"libxml2 error: \"%*s\"", n, buf);
|
||||
"libxml2 error: \"%*s\"", n + 1, buf);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user