yet another unscoped variable

This commit is contained in:
Michele Caini 2022-04-02 23:02:59 +02:00
parent f8d1fd9290
commit b7f214e298

View File

@ -40,8 +40,7 @@ TEST(FileReq, SendFile) {
req.close();
break;
case uvw::fs_req::fs_type::OPEN:
auto flags = uvw::file_req::file_open_flags::CREAT | uvw::file_req::file_open_flags::WRONLY | uvw::file_req::file_open_flags::TRUNC;
dstReq->open(dstFilename, flags, 0644);
dstReq->open(dstFilename, uvw::file_req::file_open_flags::CREAT | uvw::file_req::file_open_flags::WRONLY | uvw::file_req::file_open_flags::TRUNC, 0644);
break;
default:
// nothing to do here