diff options
author | Nick Mathewson <nickm@torproject.org> | 2016-11-14 14:57:32 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-11-30 14:42:52 -0500 |
commit | 539eba0a4bab1e22a7e2e19132d356e99c32e232 (patch) | |
tree | 8cb80377dfdb33b7cb1fed231cf5b44c96851843 /src/or/entrynodes.c | |
parent | df8256a931099767d9f70997c9eb1ef934afd392 (diff) | |
download | tor-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.c | 2 |
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; |