aboutsummaryrefslogtreecommitdiff
path: root/src/http/modules/perl/ngx_http_perl_module.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2007-10-14 18:56:15 +0000
committerIgor Sysoev <igor@sysoev.ru>2007-10-14 18:56:15 +0000
commit2d3f3f6eb682a407700a7fcadc67ad8e703249da (patch)
treeca69b0bb63042eb0375aba85340c6cd28358d0ab /src/http/modules/perl/ngx_http_perl_module.c
parent47a1ebb05086c82141b19377bbaafa9d68414281 (diff)
downloadnginx-2d3f3f6eb682a407700a7fcadc67ad8e703249da.tar.gz
nginx-2d3f3f6eb682a407700a7fcadc67ad8e703249da.zip
fix English grammar
Diffstat (limited to 'src/http/modules/perl/ngx_http_perl_module.c')
-rw-r--r--src/http/modules/perl/ngx_http_perl_module.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/http/modules/perl/ngx_http_perl_module.c b/src/http/modules/perl/ngx_http_perl_module.c
index 836a415c9..d5a11163b 100644
--- a/src/http/modules/perl/ngx_http_perl_module.c
+++ b/src/http/modules/perl/ngx_http_perl_module.c
@@ -336,7 +336,7 @@ ngx_http_perl_variable(ngx_http_request_t *r, ngx_http_variable_value_t *v,
if (value.data) {
v->len = value.len;
v->valid = 1;
- v->no_cachable = 0;
+ v->no_cacheable = 0;
v->not_found = 0;
v->data = value.data;
@@ -954,7 +954,7 @@ ngx_http_perl_set(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
value[1].len--;
value[1].data++;
- v = ngx_http_add_variable(cf, &value[1], NGX_HTTP_VAR_CHANGABLE);
+ v = ngx_http_add_variable(cf, &value[1], NGX_HTTP_VAR_CHANGEABLE);
if (v == NULL) {
return NGX_CONF_ERROR;
}