333 /* |
333 /* |
334 * access log |
334 * access log |
335 * This source file only manages access log files. IO is performed directly |
335 * This source file only manages access log files. IO is performed directly |
336 * by AddLog safs. |
336 * by AddLog safs. |
337 */ |
337 */ |
338 LogFile* get_access_log_file(sstr_t file) { |
338 LogFile* get_access_log_file(scstr_t file) { |
|
339 // TODO: this looks dubious |
|
340 |
339 if(!access_log_files) { |
341 if(!access_log_files) { |
340 access_log_files = ucx_map_new(4); |
342 access_log_files = ucx_map_new(4); |
341 } |
343 } |
342 |
344 |
343 if(file.ptr == NULL || file.length == 0) { |
345 if(file.ptr == NULL || file.length == 0) { |