diff options
Diffstat (limited to 'src/or/main.c')
-rw-r--r-- | src/or/main.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/or/main.c b/src/or/main.c index 831f0c785..07a0d3015 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -4,7 +4,7 @@ #include "or.h" -/********* START PROTOTYPES **********/ +/********* PROTOTYPES **********/ static void dumpstats(int severity); /* log stats */ static int init_from_config(int argc, char **argv); @@ -34,6 +34,14 @@ static int please_reset=0; /* whether we just got a sighup */ static int please_reap_children=0; /* whether we should waitpid for exited children */ #endif /* signal stuff */ +int has_fetched_directory=0; +/* we set this to 1 when we've fetched a dir, to know whether to complain + * yet about unrecognized nicknames in entrynodes, exitnodes, etc. */ + +int has_completed_circuit=0; +/* we set this to 1 when we've opened a circuit, so we can print a log + * entry to inform the user that Tor is working. */ + /********* END VARIABLES ************/ /**************************************************************************** |