diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-07-25 22:56:54 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-07-25 22:56:54 +0000 |
commit | a8821e2d826755209f793f7ce61e04e9f8bfed64 (patch) | |
tree | b5376c791d8ee9d194e2146955bb1b69a75881d4 /src/or/connection_edge.c | |
parent | 47f3a40900e24cf5d14e8fa218b876a2b39b25f0 (diff) | |
download | tor-a8821e2d826755209f793f7ce61e04e9f8bfed64.tar.gz tor-a8821e2d826755209f793f7ce61e04e9f8bfed64.zip |
r13905@catbus: nickm | 2007-07-25 18:48:44 -0400
ADDRMAP events should never have specified local time. Extend them to have the proper gmt time, and make GETINFO address-mappings always do the right thing (since it is new in this version).
svn:r10930
Diffstat (limited to 'src/or/connection_edge.c')
-rw-r--r-- | src/or/connection_edge.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/connection_edge.c b/src/or/connection_edge.c index 95f2536ef1..f310d9289b 100644 --- a/src/or/connection_edge.c +++ b/src/or/connection_edge.c @@ -1161,7 +1161,7 @@ addressmap_get_mappings(smartlist_t *sl, time_t min_expires, tor_snprintf(line, len, "%s %s NEVER", key, val->new_address); else { char time[ISO_TIME_LEN+1]; - format_local_iso_time(time, val->expires); + format_iso_time(time, val->expires); tor_snprintf(line, len, "%s %s \"%s\"", key, val->new_address, time); } |