summaryrefslogtreecommitdiff
path: root/src/common/util.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2008-01-15 05:57:19 +0000
committerNick Mathewson <nickm@torproject.org>2008-01-15 05:57:19 +0000
commit24aae484c93b09c7fc735e53874f02a22e4b5b43 (patch)
tree52b359e727d2a0c6325fd21ef881b20818f32baa /src/common/util.c
parenta984011814b3de3c4a300c364893cd6c6cc8ec05 (diff)
downloadtor-24aae484c93b09c7fc735e53874f02a22e4b5b43.tar.gz
tor-24aae484c93b09c7fc735e53874f02a22e4b5b43.zip
r17624@catbus: nickm | 2008-01-15 00:42:01 -0500
Fixes to more anonymously-reported typos and logic errors. svn:r13136
Diffstat (limited to 'src/common/util.c')
-rw-r--r--src/common/util.c2
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)) {