comparison src/http/modules/ngx_http_ssi_filter_module.c @ 1565:4c43e25d11ea

fix English grammar
author Igor Sysoev <igor@sysoev.ru>
date Sun, 14 Oct 2007 18:56:15 +0000
parents 2d8fab47dd89
children f00b905cb70b
comparison
equal deleted inserted replaced
1564:6725c3f56216 1565:4c43e25d11ea
301 301
302 302
303 static ngx_http_variable_t ngx_http_ssi_vars[] = { 303 static ngx_http_variable_t ngx_http_ssi_vars[] = {
304 304
305 { ngx_string("date_local"), NULL, ngx_http_ssi_date_gmt_local_variable, 0, 305 { ngx_string("date_local"), NULL, ngx_http_ssi_date_gmt_local_variable, 0,
306 NGX_HTTP_VAR_NOCACHABLE, 0 }, 306 NGX_HTTP_VAR_NOCACHEABLE, 0 },
307 307
308 { ngx_string("date_gmt"), NULL, ngx_http_ssi_date_gmt_local_variable, 1, 308 { ngx_string("date_gmt"), NULL, ngx_http_ssi_date_gmt_local_variable, 1,
309 NGX_HTTP_VAR_NOCACHABLE, 0 }, 309 NGX_HTTP_VAR_NOCACHEABLE, 0 },
310 310
311 { ngx_null_string, NULL, NULL, 0, 0, 0 } 311 { ngx_null_string, NULL, NULL, 0, 0, 0 }
312 }; 312 };
313 313
314 314
2639 ngx_time_t *tp; 2639 ngx_time_t *tp;
2640 struct tm tm; 2640 struct tm tm;
2641 char buf[NGX_HTTP_SSI_DATE_LEN]; 2641 char buf[NGX_HTTP_SSI_DATE_LEN];
2642 2642
2643 v->valid = 1; 2643 v->valid = 1;
2644 v->no_cachable = 0; 2644 v->no_cacheable = 0;
2645 v->not_found = 0; 2645 v->not_found = 0;
2646 2646
2647 tp = ngx_timeofday(); 2647 tp = ngx_timeofday();
2648 2648
2649 ctx = ngx_http_get_module_ctx(r, ngx_http_ssi_filter_module); 2649 ctx = ngx_http_get_module_ctx(r, ngx_http_ssi_filter_module);