mirror of
https://github.com/zotanmew/nginx-rtmp-module.git
synced 2024-05-18 09:11:08 +02:00
removed extra ngx_de_info call in win32
This commit is contained in:
parent
9abf8355d9
commit
a1b1c205f1
|
@ -1280,7 +1280,7 @@ ngx_rtmp_dash_cleanup_dir(ngx_str_t *ppath, ngx_msec_t playlen)
|
|||
|
||||
nentries++;
|
||||
|
||||
if (ngx_de_info(path, &dir) == NGX_FILE_ERROR) {
|
||||
if (!dir.valid_info && ngx_de_info(path, &dir) == NGX_FILE_ERROR) {
|
||||
ngx_log_error(NGX_LOG_CRIT, ngx_cycle->log, ngx_errno,
|
||||
"dash: cleanup " ngx_de_info_n " \"%V\" failed",
|
||||
&spath);
|
||||
|
|
|
@ -1941,7 +1941,7 @@ ngx_rtmp_hls_cleanup_dir(ngx_str_t *ppath, ngx_msec_t playlen)
|
|||
|
||||
nentries++;
|
||||
|
||||
if (ngx_de_info(path, &dir) == NGX_FILE_ERROR) {
|
||||
if (!dir.valid_info && ngx_de_info(path, &dir) == NGX_FILE_ERROR) {
|
||||
ngx_log_error(NGX_LOG_CRIT, ngx_cycle->log, ngx_errno,
|
||||
"hls: cleanup " ngx_de_info_n " \"%V\" failed",
|
||||
&spath);
|
||||
|
|
Loading…
Reference in a new issue