mirror of
https://github.com/zotanmew/nginx-rtmp-module.git
synced 2024-05-23 02:39:32 +02:00
fixed MoveFileEx
This commit is contained in:
parent
3f045ccdca
commit
7e517f1619
|
@ -428,7 +428,8 @@ retry:
|
|||
ngx_close_file(fd);
|
||||
|
||||
#if (NGX_WIN32)
|
||||
rc = MoveFileEx(ctx->playlist_bak.data, ctx->playlist.data,
|
||||
rc = MoveFileEx((LPCTSTR) ctx->playlist_bak.data,
|
||||
(LPCTSTR) ctx->playlist.data,
|
||||
MOVEFILE_REPLACE_EXISTING);
|
||||
#else
|
||||
rc = ngx_rename_file(ctx->playlist_bak.data, ctx->playlist.data);
|
||||
|
|
Loading…
Reference in a new issue