From: Roger Dingledine Date: Tue, 29 Sep 2009 03:25:23 +0000 (-0400) Subject: fix two comment bugs for load_stats_file() X-Git-Tag: tor-0.2.2.4-alpha~21 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=768bc04febb9b48c7088425f939367f174424d5b;p=thirdparty%2Ftor.git fix two comment bugs for load_stats_file() --- diff --git a/src/or/router.c b/src/or/router.c index 7646fdc1a3..5b260de1ca 100644 --- a/src/or/router.c +++ b/src/or/router.c @@ -1826,9 +1826,9 @@ router_dump_router_to_string(char *s, size_t maxlen, routerinfo_t *router, /** Load the contents of filename, find the last line starting with * end_line, ensure that its timestamp is not more than 25 hours in * the past or more than 1 hour in the future with respect to now, - * and write the file contents starting with that line to **out. - * Return 1 for success, 0 if the file does not exist or does not contain - * a line matching these criteria, or -1 for failure. */ + * and write the file contents starting with that line to *out. + * Return 1 for success, 0 if the file does not exist, or -1 if the file + * does not contain a line matching these criteria or other failure. */ static int load_stats_file(const char *filename, const char *end_line, time_t now, char **out)