aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfgang Draxinger <Wolfgang.Draxinger@draxit.de>2013-06-18 00:55:27 +0200
committerWolfgang Draxinger <Wolfgang.Draxinger@draxit.de>2013-06-18 00:55:27 +0200
commitfc9f3c0bde26bc882bdfe1ec0435ade8b60172f4 (patch)
tree7d2a93fbb986fc237702cdb56647ef4908c83566
parent2acbceee50121ce52b241fed75989f60331357bd (diff)
downloadlitheweb-fc9f3c0bde26bc882bdfe1ec0435ade8b60172f4.tar.gz
litheweb-fc9f3c0bde26bc882bdfe1ec0435ade8b60172f4.tar.bz2
Epoch for datetime struct changed to 1970
-rw-r--r--picohttp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/picohttp.h b/picohttp.h
index 95ac0e7..803587d 100644
--- a/picohttp.h
+++ b/picohttp.h
@@ -79,7 +79,7 @@ struct picohttpURLRoute {
int16_t allowed_methods;
};
-#define PICOHTTP_EPOCH_YEAR 1980
+#define PICOHTTP_EPOCH_YEAR 1970
struct picohttpDateTime {
unsigned int Y:7; /* EPOCH + 127 years */