summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2009-09-28 23:25:23 -0400
committerRoger Dingledine <arma@torproject.org>2009-09-28 23:25:23 -0400
commit768bc04febb9b48c7088425f939367f174424d5b (patch)
treee5f6876b4b6b07662ad12f1012527c70e8179348
parentb4709066c9da484f83755bad5221f70b0a91f7dc (diff)
downloadtor-768bc04febb9b48c7088425f939367f174424d5b.tar.gz
tor-768bc04febb9b48c7088425f939367f174424d5b.zip
fix two comment bugs for load_stats_file()
-rw-r--r--src/or/router.c6
1 files changed, 3 insertions, 3 deletions
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 <b>filename</b>, find the last line starting with
* <b>end_line</b>, ensure that its timestamp is not more than 25 hours in
* the past or more than 1 hour in the future with respect to <b>now</b>,
- * and write the file contents starting with that line to **<b>out</b>.
- * 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 *<b>out</b>.
+ * 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)