comparison src/http/modules/ngx_http_flv_module.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 22d36702c654
comparison
equal deleted inserted replaced
2067:5657037448d1 2068:75a8d34459c5
103 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, log, 0, 103 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, log, 0,
104 "http flv filename: \"%V\"", &path); 104 "http flv filename: \"%V\"", &path);
105 105
106 clcf = ngx_http_get_module_loc_conf(r, ngx_http_core_module); 106 clcf = ngx_http_get_module_loc_conf(r, ngx_http_core_module);
107 107
108 of.uniq = 0; 108 ngx_memzero(&of, sizeof(ngx_open_file_info_t));
109 of.test_dir = 0; 109
110 of.valid = clcf->open_file_cache_valid; 110 of.valid = clcf->open_file_cache_valid;
111 of.min_uses = clcf->open_file_cache_min_uses; 111 of.min_uses = clcf->open_file_cache_min_uses;
112 of.errors = clcf->open_file_cache_errors; 112 of.errors = clcf->open_file_cache_errors;
113 of.events = clcf->open_file_cache_events; 113 of.events = clcf->open_file_cache_events;
114 114