comparison src/http/modules/ngx_http_index_handler.c @ 59:e8cdc2989cee

nginx-0.0.1-2003-02-06-20:21:13 import
author Igor Sysoev <igor@sysoev.ru>
date Thu, 06 Feb 2003 17:21:13 +0000
parents 27b628ef907e
children e43f406e4525
comparison
equal deleted inserted replaced
58:6b13b1cadabe 59:e8cdc2989cee
242 242
243 243
244 /* STUB */ 244 /* STUB */
245 static char *ngx_http_index_merge_conf(ngx_pool_t *p, void *parent, void *child) 245 static char *ngx_http_index_merge_conf(ngx_pool_t *p, void *parent, void *child)
246 { 246 {
247 #if 0
247 ngx_http_index_conf_t *prev = (ngx_http_index_conf_t *) parent; 248 ngx_http_index_conf_t *prev = (ngx_http_index_conf_t *) parent;
249 #endif
248 ngx_http_index_conf_t *conf = (ngx_http_index_conf_t *) child; 250 ngx_http_index_conf_t *conf = (ngx_http_index_conf_t *) child;
249 ngx_str_t *index; 251 ngx_str_t *index;
250 252
251 if (conf->max_index_len == 0) { 253 if (conf->max_index_len == 0) {
252 ngx_test_null(index, ngx_push_array(conf->indices), NGX_CONF_ERROR); 254 ngx_test_null(index, ngx_push_array(conf->indices), NGX_CONF_ERROR);