diff options
author | iseg <iseg@yandex-team.ru> | 2022-02-10 16:49:39 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:49:39 +0300 |
commit | 8b71ce88bea710a9663bb143e4916f961c57212e (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/http/misc/httpdate.h | |
parent | f828a15ab90e9ca8e848f83caf95c95f06be46e7 (diff) | |
download | ydb-8b71ce88bea710a9663bb143e4916f961c57212e.tar.gz |
Restoring authorship annotation for <iseg@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/http/misc/httpdate.h')
-rw-r--r-- | library/cpp/http/misc/httpdate.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/cpp/http/misc/httpdate.h b/library/cpp/http/misc/httpdate.h index cf38ca307fc..04876f38feb 100644 --- a/library/cpp/http/misc/httpdate.h +++ b/library/cpp/http/misc/httpdate.h @@ -4,9 +4,9 @@ #include <util/generic/string.h> #include <ctime> - + #define BAD_DATE ((time_t)-1) - + inline time_t parse_http_date(const TStringBuf& datestring) { try { return TInstant::ParseHttpDeprecated(datestring).TimeT(); |