summaryrefslogtreecommitdiffhomepage
path: root/src/http/modules/perl/ngx_http_perl_module.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2007-12-12 16:57:36 +0000
committerIgor Sysoev <igor@sysoev.ru>2007-12-12 16:57:36 +0000
commitf2d00ec64fe336164dd96b9c6729ad5d72324808 (patch)
tree1c93ec560befc5a4801197e8982993f6417f5a08 /src/http/modules/perl/ngx_http_perl_module.c
parent32862a6f52e85c36768eb6e028161c9a8bebf6ff (diff)
downloadnginx-f2d00ec64fe336164dd96b9c6729ad5d72324808.tar.gz
nginx-f2d00ec64fe336164dd96b9c6729ad5d72324808.tar.bz2
r1566 merge:
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 248f57823..e3c214569 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;
}