diff src/http/modules/ngx_http_gzip_filter_module.c @ 637:e60fe4cf1d4e release-0.3.40

nginx-0.3.40-RELEASE import *) Feature: the ngx_http_dav_module supports the MKCOL method. *) Feature: the "create_full_put_path" directive. *) Feature: the "$limit_rate" variable.
author Igor Sysoev <igor@sysoev.ru>
date Wed, 19 Apr 2006 15:30:56 +0000
parents 9262f520ce21
children 6d5c1535bb9d
line wrap: on
line diff
--- a/src/http/modules/ngx_http_gzip_filter_module.c
+++ b/src/http/modules/ngx_http_gzip_filter_module.c
@@ -969,7 +969,7 @@ ngx_http_gzip_add_variables(ngx_conf_t *
         return NGX_ERROR;
     }
 
-    var->handler = ngx_http_gzip_ratio_variable;
+    var->get_handler = ngx_http_gzip_ratio_variable;
 
     for (op = ngx_http_gzip_log_fmt_ops; op->name.len; op++) { /* void */ }
     op->run = NULL;