diff options
author | Nick Mathewson <nickm@torproject.org> | 2008-02-06 19:34:32 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2008-02-06 19:34:32 +0000 |
commit | 4d70094b6ebf9557cb7b22ebad6037ab4e221ff8 (patch) | |
tree | 96a71a2eb9425018b691401430f4b58dbe922370 /src/or/rephist.c | |
parent | 6e2946fb5d59595278bd0f0ef0aa4e092905dc97 (diff) | |
download | tor-4d70094b6ebf9557cb7b22ebad6037ab4e221ff8.tar.gz tor-4d70094b6ebf9557cb7b22ebad6037ab4e221ff8.zip |
r17951@catbus: nickm | 2008-02-06 14:34:13 -0500
Add more documentation; change the behavior of read_to_buf_tls to be more consistent. Note a longstanding problem with current read/write interfaces.
svn:r13407
Diffstat (limited to 'src/or/rephist.c')
-rw-r--r-- | src/or/rephist.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/or/rephist.c b/src/or/rephist.c index 8908e03294..0e451a1523 100644 --- a/src/or/rephist.c +++ b/src/or/rephist.c @@ -19,6 +19,7 @@ static void bw_arrays_init(void); static void predicted_ports_init(void); static void hs_usage_init(void); +/**DOCDOC*/ uint64_t rephist_total_alloc=0; uint32_t rephist_total_num=0; @@ -732,8 +733,10 @@ find_next_with(smartlist_t *sl, int i, const char *prefix) return -1; } +/** How many bad times has parse_possibly_bad_iso_time parsed? */ static int n_bogus_times = 0; -/** DOCDOC */ +/** Parse the ISO-formatted time in <b>s</b> into *<b>time_out</b>, but + * rounds any pre-1970 date to Jan 1, 1970. */ static int parse_possibly_bad_iso_time(const char *s, time_t *time_out) { |