aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/mime
diff options
context:
space:
mode:
authoryazevnul <yazevnul@yandex-team.ru>2022-02-10 16:46:48 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:48 +0300
commit9abfb1a53b7f7b791444d1378e645d8fad9b06ed (patch)
tree49e222ea1c5804306084bb3ae065bb702625360f /library/cpp/mime
parent8cbc307de0221f84c80c42dcbe07d40727537e2c (diff)
downloadydb-9abfb1a53b7f7b791444d1378e645d8fad9b06ed.tar.gz
Restoring authorship annotation for <yazevnul@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/mime')
-rw-r--r--library/cpp/mime/types/mime.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/cpp/mime/types/mime.cpp b/library/cpp/mime/types/mime.cpp
index 4a58562ee9..706d776b24 100644
--- a/library/cpp/mime/types/mime.cpp
+++ b/library/cpp/mime/types/mime.cpp
@@ -114,7 +114,7 @@ TMimeTypes::TMimeTypes()
}
void TMimeTypes::SetContentTypes() {
- for (int i = 0; i < (int)Y_ARRAY_SIZE(Records); ++i) {
+ for (int i = 0; i < (int)Y_ARRAY_SIZE(Records); ++i) {
const TRecord& record(Records[i]);
assert(i == record.Mime || i > MIME_MAX || record.Mime == MIME_UNKNOWN);
if (!record.ContentType)
@@ -127,7 +127,7 @@ void TMimeTypes::SetContentTypes() {
}
void TMimeTypes::SetExt() {
- for (int i = 0; i < (int)Y_ARRAY_SIZE(Records); ++i) {
+ for (int i = 0; i < (int)Y_ARRAY_SIZE(Records); ++i) {
const TRecord& record(Records[i]);
if (!record.Ext)
continue;