diff --git a/td/generate/DotnetTlDocumentationGenerator.php b/td/generate/DotnetTlDocumentationGenerator.php index b27717a67..db53cc1ea 100644 --- a/td/generate/DotnetTlDocumentationGenerator.php +++ b/td/generate/DotnetTlDocumentationGenerator.php @@ -6,7 +6,7 @@ class DotnetTlDocumentationGenerator extends TlDocumentationGenerator { protected function escapeDocumentation($doc) { - $doc = preg_replace_callback('/(?addDot($value); + $value = $this->escapeDocumentation($this->addDot($value)); $this->addAbstractClassDocumentation($current_class, $value); continue; diff --git a/td/telegram/files/FileDownloader.cpp b/td/telegram/files/FileDownloader.cpp index 881f22bd2..38353df9e 100644 --- a/td/telegram/files/FileDownloader.cpp +++ b/td/telegram/files/FileDownloader.cpp @@ -355,7 +355,7 @@ Result FileDownloader::process_part(Part part, NetQueryPtr net_query) { auto slice = bytes.as_slice().truncate(part.size); TRY_STATUS(acquire_fd()); - LOG(INFO) << "Got " << slice.size() << " bytes at " << part.offset << " for \"" << path_ << '"'; + LOG(INFO) << "Got " << slice.size() << " bytes at offset " << part.offset << " for \"" << path_ << '"'; TRY_RESULT(written, fd_.pwrite(slice, part.offset)); // may write less than part.size, when size of downloadable file is unknown if (written != slice.size()) {