comparison src/http/ngx_http_script.c @ 2068:75a8d34459c5

ngx_memzero() ngx_open_file_info_t
author Igor Sysoev <igor@sysoev.ru>
date Thu, 26 Jun 2008 14:07:59 +0000
parents 67a29af877ed
children 25add486e7aa
comparison
equal deleted inserted replaced
2067:5657037448d1 2068:75a8d34459c5
992 ngx_log_debug2(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, 992 ngx_log_debug2(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
993 "http script file op %p \"%V\"", code->op, &path); 993 "http script file op %p \"%V\"", code->op, &path);
994 994
995 clcf = ngx_http_get_module_loc_conf(r, ngx_http_core_module); 995 clcf = ngx_http_get_module_loc_conf(r, ngx_http_core_module);
996 996
997 of.uniq = 0; 997 ngx_memzero(&of, sizeof(ngx_open_file_info_t));
998 of.test_dir = 0; 998
999 of.valid = clcf->open_file_cache_valid; 999 of.valid = clcf->open_file_cache_valid;
1000 of.min_uses = clcf->open_file_cache_min_uses; 1000 of.min_uses = clcf->open_file_cache_min_uses;
1001 of.errors = clcf->open_file_cache_errors; 1001 of.errors = clcf->open_file_cache_errors;
1002 of.events = clcf->open_file_cache_events; 1002 of.events = clcf->open_file_cache_events;
1003 1003