diff options
Diffstat (limited to 'src/common/util.c')
-rw-r--r-- | src/common/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/util.c b/src/common/util.c index 143e105ba6..8f08c9b6af 100644 --- a/src/common/util.c +++ b/src/common/util.c @@ -1271,7 +1271,7 @@ parse_http_time(const char *date, struct tm *tm) } } - month[4] = '\0'; + month[3] = '\0'; /* Okay, now decode the month. */ for (i = 0; i < 12; ++i) { if (!strcasecmp(MONTH_NAMES[i], month)) { |