diff options
Diffstat (limited to 'src/or/main.c')
-rw-r--r-- | src/or/main.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/or/main.c b/src/or/main.c index dda0cf257e..c8d76bdae1 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -52,9 +52,9 @@ static int stats_prev_global_read_bucket; * (used to determine how many bytes we've written). */ static int stats_prev_global_write_bucket; /* XXX we might want to keep stats about global_relayed_*_bucket too. Or not.*/ -/** How many bytes have we read/written since we started the process? */ +/** How many bytes have we read since we started the process? */ static uint64_t stats_n_bytes_read = 0; -/* DOCDOC stats_n_bytes_written */ +/** How many bytes have we written since we started the process? */ static uint64_t stats_n_bytes_written = 0; /** What time did this process start up? */ time_t time_of_process_start = 0; @@ -1861,7 +1861,9 @@ tor_init(int argc, char *argv[]) return 0; } -/* DOCDOC lockfile */ +/** A lockfile structure, used to prevent two Tors from messing with the + * data directory at once. If this variable is non-NULL, we're holding + * the lockfile. */ static tor_lockfile_t *lockfile = NULL; /** Try to grab the lock file described in <b>options</b>, if we do not |