summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_time_parse.c
diff options
context:
space:
mode:
authorKonstantin Pavlov <thresh@nginx.com>2022-09-13 13:17:16 +0400
committerKonstantin Pavlov <thresh@nginx.com>2022-09-13 13:17:16 +0400
commitce964aa30b163e2b3263c5af57c1a6dae7d0cebb (patch)
tree26bf70c1a5991f6471fc4caed8628e068fdc0b7b /src/nxt_time_parse.c
parenteba4c3c98fa1bf275d94df8c727f70692ae7eae1 (diff)
parent38bd7e76a134084ab95a4ee3125af1ccd7b35864 (diff)
downloadunit-ce964aa30b163e2b3263c5af57c1a6dae7d0cebb.tar.gz
unit-ce964aa30b163e2b3263c5af57c1a6dae7d0cebb.tar.bz2
Merged with the default branch.1.28.0-1
Diffstat (limited to 'src/nxt_time_parse.c')
-rw-r--r--src/nxt_time_parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_time_parse.c b/src/nxt_time_parse.c
index 94c43289..63620b09 100644
--- a/src/nxt_time_parse.c
+++ b/src/nxt_time_parse.c
@@ -22,7 +22,7 @@ nxt_time_parse(const u_char *p, size_t len)
nxt_uint_t year, days;
const u_char *end;
- static nxt_int_t mday[12] = {
+ static const nxt_int_t mday[12] = {
31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31
};