576:5c31cc844c68 | 577:4f5ccaea4a92 |
---|---|
413 cxMapPut(access_log_files, key, log); | 413 cxMapPut(access_log_files, key, log); |
414 | 414 |
415 return log; | 415 return log; |
416 } | 416 } |
417 | 417 |
418 void shutdown_logging(void) { | |
419 CxIterator i = cxMapIteratorValues(access_log_files); | |
420 cx_foreach(LogFile *, log, i) { | |
421 fclose(log->file); | |
422 free(log); | |
423 } | |
424 cxMapDestroy(access_log_files); | |
425 | |
426 if(log_dup_list) { | |
427 cxListDestroy(log_dup_list); | |
428 } | |
429 } |