diff options
author | Glenn Strauss <gstrauss@gluelogic.com> | 2021-04-03 12:43:46 -0400 |
---|---|---|
committer | Glenn Strauss <gstrauss@gluelogic.com> | 2021-04-05 13:24:51 -0400 |
commit | 325d89b99fb29492fd8dddbf28caa0cae0d78b64 (patch) | |
tree | 18d9fcf5fe22e59ae3167e0487cf6230063988f8 /src/http-header-glue.c | |
parent | c41ebea4bb220c8fe252f472eec836c691734690 (diff) | |
download | lighttpd-git-325d89b99fb29492fd8dddbf28caa0cae0d78b64.tar.gz |
[multiple] more reuse of http_date_time_to_str()
Diffstat (limited to 'src/http-header-glue.c')
-rw-r--r-- | src/http-header-glue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http-header-glue.c b/src/http-header-glue.c index 5805ee1d..4245e906 100644 --- a/src/http-header-glue.c +++ b/src/http-header-glue.c @@ -138,7 +138,7 @@ struct mtime_cache_type { buffer str; /* buffer for string representation */ }; static struct mtime_cache_type mtime_cache[MTIME_CACHE_MAX]; -static char mtime_cache_str[MTIME_CACHE_MAX][30]; +static char mtime_cache_str[MTIME_CACHE_MAX][HTTP_DATE_SZ]; /* 30-chars for "%a, %d %b %Y %T GMT" */ void strftime_cache_reset(void) { |