diff --git a/tdnet/td/net/HttpReader.cpp b/tdnet/td/net/HttpReader.cpp index 55202bd42..91884a769 100644 --- a/tdnet/td/net/HttpReader.cpp +++ b/tdnet/td/net/HttpReader.cpp @@ -739,12 +739,12 @@ Status HttpReader::open_temp_file(CSlice desired_file_name) { TRY_RESULT(dir, realpath(tmp_dir, true)); CHECK(!dir.empty()); - + /* auto first_try = try_open_temp_file(dir, desired_file_name); if (first_try.is_ok()) { return Status::OK(); } - + */ // Creation of new file with desired name has failed. Trying to create unique directory for it TRY_RESULT(directory, mkdtemp(dir, TEMP_DIRECTORY_PREFIX)); auto second_try = try_open_temp_file(directory, desired_file_name);