Skip to content

Commit

Permalink
Update ngx_http_dynamic_upstream_module.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
ZigzagAK authored Oct 28, 2022
1 parent a3c243a commit ab67fe7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ngx_http_dynamic_upstream_module.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -824,6 +824,7 @@ ngx_http_dynamic_upstream_save(S *uscf, ngx_str_t filename,

file.name = filename;
file.offset = 0;
file.log = ngx_cycle->log;

file.fd = ngx_open_file(filename.data, NGX_FILE_WRONLY,
NGX_FILE_TRUNCATE, NGX_FILE_DEFAULT_ACCESS);
Expand Down

0 comments on commit ab67fe7

Please sign in to comment.