diff options
author | Igor Sysoev <igor@sysoev.ru> | 2009-07-24 13:32:41 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2009-07-24 13:32:41 +0000 |
commit | 543151b3002dedf2c43a6e26dca08a822ba55190 (patch) | |
tree | 721e17e0554c3d50097f9f1e54ccc987185791c0 | |
parent | 2cc13965a3cb988ae79b3b870d255e8d7be35e41 (diff) | |
download | nginx-543151b3002dedf2c43a6e26dca08a822ba55190.tar.gz nginx-543151b3002dedf2c43a6e26dca08a822ba55190.zip |
fix libxml2 error message
-rw-r--r-- | src/http/modules/ngx_http_xslt_filter_module.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/modules/ngx_http_xslt_filter_module.c b/src/http/modules/ngx_http_xslt_filter_module.c index ca9e15dc6..cfaa8e1b3 100644 --- a/src/http/modules/ngx_http_xslt_filter_module.c +++ b/src/http/modules/ngx_http_xslt_filter_module.c @@ -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); } |