aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/http/misc/httpdate.cpp
diff options
context:
space:
mode:
authoriseg <iseg@yandex-team.ru>2022-02-10 16:49:39 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:39 +0300
commit8b71ce88bea710a9663bb143e4916f961c57212e (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/http/misc/httpdate.cpp
parentf828a15ab90e9ca8e848f83caf95c95f06be46e7 (diff)
downloadydb-8b71ce88bea710a9663bb143e4916f961c57212e.tar.gz
Restoring authorship annotation for <iseg@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/http/misc/httpdate.cpp')
-rw-r--r--library/cpp/http/misc/httpdate.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/library/cpp/http/misc/httpdate.cpp b/library/cpp/http/misc/httpdate.cpp
index cd80921828..4a3031bbf4 100644
--- a/library/cpp/http/misc/httpdate.cpp
+++ b/library/cpp/http/misc/httpdate.cpp
@@ -12,7 +12,7 @@
* no representations about the suitability of this software for any
* purpose. It is provided "as is" without express or implied
* warranty.
-*
+*
* THIS SOFTWARE IS PROVIDED BY M.I.T. ``AS IS''. M.I.T. DISCLAIMS
* ALL EXPRESS OR IMPLIED WARRANTIES WITH REGARD TO THIS SOFTWARE,
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
@@ -37,10 +37,10 @@
#include <util/system/compat.h> /* stricmp */
#include <util/system/yassert.h>
-#include "httpdate.h"
+#include "httpdate.h"
#include <util/datetime/base.h>
-static const char *wkdays[] = {
+static const char *wkdays[] = {
"Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"
};
@@ -73,8 +73,8 @@ char* format_http_date(time_t when, char* buf, size_t buflen) {
Y_ASSERT(len > 0 && size_t(len) < buflen);
- return buf;
-}
+ return buf;
+}
TString FormatHttpDate(time_t when) {
char str[64] = {0};