mirror of
https://github.com/nginx/nginx.git
synced 2026-10-26 07:20:04 -05:00
fix libxml2 error message
This commit is contained in:
1 parent
2cc13965a3
commit
543151b300
1 file changed
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user