summaryrefslogtreecommitdiff
path: root/src/or/router.c
diff options
context:
space:
mode:
authorKarsten Loesing <karsten.loesing@gmx.net>2010-08-24 08:11:17 +0200
committerKarsten Loesing <karsten.loesing@gmx.net>2010-12-03 16:47:53 +0100
commit8db10c6d2fb0dc632f3bfdcc4a9acc5e3c7ad515 (patch)
treecb4c61bb6a325c6ef35e2dfe6966b9a2456cca9c /src/or/router.c
parent91fec693e01cf5ef77fddca48ed4c0ba4fcd0d1a (diff)
downloadtor-8db10c6d2fb0dc632f3bfdcc4a9acc5e3c7ad515.tar.gz
tor-8db10c6d2fb0dc632f3bfdcc4a9acc5e3c7ad515.zip
Write bidirectional connection stats in single line.
There's no need to have a separate line conn-stats-end for the end date and interval length with only a single line conn-bi-direct following.
Diffstat (limited to 'src/or/router.c')
-rw-r--r--src/or/router.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/router.c b/src/or/router.c
index 8c56bc49a9..686151a64c 100644
--- a/src/or/router.c
+++ b/src/or/router.c
@@ -2053,7 +2053,7 @@ extrainfo_dump_to_string(char **s_out, extrainfo_t *extrainfo,
}
if (options->ConnDirectionStatistics &&
load_stats_file("stats"PATH_SEPARATOR"conn-stats",
- "conn-stats-end", now, &contents) > 0) {
+ "conn-bi-direct", now, &contents) > 0) {
size_t pos = strlen(s);
if (strlcpy(s + pos, contents, maxlen - strlen(s)) !=
strlen(contents)) {