From 6ef242ad3894793266b265599750994e5ac3f00f Mon Sep 17 00:00:00 2001 From: Arseny Smirnov Date: Tue, 30 Jul 2019 21:29:52 +0300 Subject: [PATCH] minor GitOrigin-RevId: 01ead4852dbe67fcd04079049039f11b2f1e15e4 --- td/telegram/files/FileLoader.cpp | 2 +- td/telegram/files/FileUploader.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/td/telegram/files/FileLoader.cpp b/td/telegram/files/FileLoader.cpp index 7f880a95..de3cc8a4 100644 --- a/td/telegram/files/FileLoader.cpp +++ b/td/telegram/files/FileLoader.cpp @@ -282,7 +282,7 @@ void FileLoader::on_result(NetQueryPtr query) { void FileLoader::on_part_query(Part part, NetQueryPtr query) { if (stop_flag_) { - // important for secret chats + // important for secret files return; } auto status = try_on_part_query(part, std::move(query)); diff --git a/td/telegram/files/FileUploader.cpp b/td/telegram/files/FileUploader.cpp index 95987599..27381d04 100644 --- a/td/telegram/files/FileUploader.cpp +++ b/td/telegram/files/FileUploader.cpp @@ -120,7 +120,7 @@ Result FileUploader::on_update_local_location(const Loca } else { path = location.full().path_; if (path.empty()) { - return Status::Error("FullLocalFileLocation whith empty path"); + return Status::Error("FullLocalFileLocation with empty path"); } local_is_ready = true; file_type = location.full().file_type_;