summaryrefslogtreecommitdiff
path: root/src/or/routerparse.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2004-07-22 22:15:36 +0000
committerRoger Dingledine <arma@torproject.org>2004-07-22 22:15:36 +0000
commitaebec8ab9ea6ca9e552ea7d87995a4fad8dc9fe0 (patch)
tree0cfddf5a2cec4da163fe78bde3912f4b15cf9cf1 /src/or/routerparse.c
parent7119345fbbbf9be40bad09d5107a78ed7ae04eac (diff)
downloadtor-aebec8ab9ea6ca9e552ea7d87995a4fad8dc9fe0.tar.gz
tor-aebec8ab9ea6ca9e552ea7d87995a4fad8dc9fe0.zip
stop using atexit() to remove our pid, since it's called
immediately when we daemonize. also drop our retry period for hidserv desc uploads from 10m to 5m svn:r2111
Diffstat (limited to 'src/or/routerparse.c')
-rw-r--r--src/or/routerparse.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/routerparse.c b/src/or/routerparse.c
index 277178f638..b0bca530af 100644
--- a/src/or/routerparse.c
+++ b/src/or/routerparse.c
@@ -302,12 +302,13 @@ int check_software_version_against_directory(const char *directory,
return -1;
} else {
fflush(0);
+ tor_cleanup();
exit(0);
return -1; /* never reached */
}
}
-/** Parse a directory from <b>s</b> and, when done, store the
+/** Parse a directory from <b>str</b> and, when done, store the
* resulting routerlist in *<b>dest</b>, freeing the old value if necessary.
* If <b>pkey</b> is provided, we check the directory signature with pkey.
*/