aboutsummaryrefslogtreecommitdiff
path: root/src/or/entrynodes.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-11-14 14:57:32 -0500
committerNick Mathewson <nickm@torproject.org>2016-11-30 14:42:52 -0500
commit539eba0a4bab1e22a7e2e19132d356e99c32e232 (patch)
tree8cb80377dfdb33b7cb1fed231cf5b44c96851843 /src/or/entrynodes.c
parentdf8256a931099767d9f70997c9eb1ef934afd392 (diff)
downloadtor-539eba0a4bab1e22a7e2e19132d356e99c32e232.tar.gz
tor-539eba0a4bab1e22a7e2e19132d356e99c32e232.zip
Teach parse_iso_time about the spaceless variant.
(We previously added support for generating the spaceless 2016-11-14T19:58:12 variant, but not for actually parsing it.)
Diffstat (limited to 'src/or/entrynodes.c')
-rw-r--r--src/or/entrynodes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/entrynodes.c b/src/or/entrynodes.c
index bd4d83c4a0..c96ff095da 100644
--- a/src/or/entrynodes.c
+++ b/src/or/entrynodes.c
@@ -1502,7 +1502,7 @@ entry_guards_parse_state_for_guard_selection(
"EntryGuardDownSince/UnlistedSince without EntryGuard");
break;
}
- if (parse_iso_time_(line->value, &when, 0)<0) {
+ if (parse_iso_time_(line->value, &when, 0, 0)<0) {
*msg = tor_strdup("Unable to parse entry nodes: "
"Bad time in EntryGuardDownSince/UnlistedSince");
break;