diff options
author | Nick Mathewson <nickm@torproject.org> | 2004-11-12 16:39:03 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2004-11-12 16:39:03 +0000 |
commit | 60880cda84fb98f70e2a70ce073e4803eddd4a1c (patch) | |
tree | 185db10e4093e2d98b335e55ba9c84a740065b4f /src/or/main.c | |
parent | 2a5bcb29e65510a5161726fa2317997fe2fc615b (diff) | |
download | tor-60880cda84fb98f70e2a70ce073e4803eddd4a1c.tar.gz tor-60880cda84fb98f70e2a70ce073e4803eddd4a1c.zip |
Resolve a bunch of FIXME items; mark a lot more for attention; ask for clarification on some. Turn all XXXX008 ("showstopper for 0.0.8 release") items into XXXX009 or XXXX, since plainly they were not showstoppers for 0.0.8. Add/clean some docs.
svn:r2808
Diffstat (limited to 'src/or/main.c')
-rw-r--r-- | src/or/main.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/or/main.c b/src/or/main.c index 4af4c818a4..8402a68383 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -441,7 +441,7 @@ static int decide_if_publishable_server(time_t now) { if(!options->ORPort) return 0; - /* XXX008 for now, you're only a server if you're a server */ + /* XXX for now, you're only a server if you're a server */ return server_mode(options); /* here, determine if we're reachable */ @@ -568,7 +568,7 @@ static void run_scheduled_events(time_t now) { router_retry_connections(); } - directory_get_from_dirserver(DIR_PURPOSE_FETCH_DIR, NULL, 0); + directory_get_from_dirserver(DIR_PURPOSE_FETCH_DIR, NULL); if(!we_are_hibernating()) { /* Force an upload of our rend descriptors every DirFetchPostPeriod seconds. */ @@ -710,7 +710,7 @@ static int do_hup(void) { } } /* Fetch a new directory. Even authdirservers do this. */ - directory_get_from_dirserver(DIR_PURPOSE_FETCH_DIR, NULL, 0); + directory_get_from_dirserver(DIR_PURPOSE_FETCH_DIR, NULL); if(server_mode(options)) { /* Restart cpuworker and dnsworker processes, so they get up-to-date * configuration options. */ @@ -750,7 +750,7 @@ static int do_main_loop(void) { stats_prev_global_read_bucket = global_read_bucket; stats_prev_global_write_bucket = global_write_bucket; -/*XXX move to options_act? */ + /*XXX009 move to options_act? */ /* Set up accounting */ if (get_options()->AccountingMaxKB) configure_accounting(time(NULL)); @@ -958,7 +958,6 @@ static int network_init(void) log_fn(LOG_WARN,"Error initializing windows network layer: code was %d",r); return -1; } - /* XXXX We should call WSACleanup on exit, I think. */ #endif return 0; } @@ -967,7 +966,8 @@ static int network_init(void) */ static void exit_function(void) { -/* XXX if we ever daemonize, this gets called immediately */ + /* NOTE: If we ever daemonize, this gets called immediately. That's + * okay for now, because we only use this on Windows. */ #ifdef MS_WINDOWS WSACleanup(); #endif |