Welcome! Log In Create A New Profile

Advanced

[nginx] svn commit: r4647 - trunk/src/http/modules

Anonymous User
May 24, 2012 03:36AM
Author: ru
Date: 2012-05-24 07:35:12 +0000 (Thu, 24 May 2012)
New Revision: 4647
URL: http://trac.nginx.org/nginx/changeset/4647/nginx

Log:
Fixed the reuse of parsed DTDs and XSLTs.

Patch by Kuramoto Eiji.


Modified:
trunk/src/http/modules/ngx_http_xslt_filter_module.c

Modified: trunk/src/http/modules/ngx_http_xslt_filter_module.c
===================================================================
--- trunk/src/http/modules/ngx_http_xslt_filter_module.c 2012-05-23 15:07:01 UTC (rev 4646)
+++ trunk/src/http/modules/ngx_http_xslt_filter_module.c 2012-05-24 07:35:12 UTC (rev 4647)
@@ -810,7 +810,7 @@

file = xmcf->dtd_files.elts;
for (i = 0; i < xmcf->dtd_files.nelts; i++) {
- if (ngx_strcmp(file[i].name, &value[1].data) == 0) {
+ if (ngx_strcmp(file[i].name, value[1].data) == 0) {
xlcf->dtd = file[i].data;
return NGX_CONF_OK;
}
@@ -884,7 +884,7 @@

file = xmcf->sheet_files.elts;
for (i = 0; i < xmcf->sheet_files.nelts; i++) {
- if (ngx_strcmp(file[i].name, &value[1].data) == 0) {
+ if (ngx_strcmp(file[i].name, value[1].data) == 0) {
sheet->stylesheet = file[i].data;
goto found;
}

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[nginx] svn commit: r4647 - trunk/src/http/modules

Anonymous User 1098 May 24, 2012 03:36AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 313
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready