comparison src/http/modules/ngx_http_geo_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 d4e858a5751a
children e958b3cab51a 1593532dcc35
comparison
equal deleted inserted replaced
636:21003753acbf 637:e60fe4cf1d4e
125 125
126 if (tree == NULL) { 126 if (tree == NULL) {
127 return NGX_CONF_ERROR; 127 return NGX_CONF_ERROR;
128 } 128 }
129 129
130 var->handler = ngx_http_geo_variable; 130 var->get_handler = ngx_http_geo_variable;
131 var->data = (uintptr_t) tree; 131 var->data = (uintptr_t) tree;
132 132
133 pool = ngx_create_pool(16384, cf->log); 133 pool = ngx_create_pool(16384, cf->log);
134 if (pool == NULL) { 134 if (pool == NULL) {
135 return NGX_CONF_ERROR; 135 return NGX_CONF_ERROR;