diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-06-06 04:51:25 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-06-06 04:51:25 +0000 |
commit | 1866ad3506a797ae7d5f06951818cf9e8b0c3822 (patch) | |
tree | a528aaa3e3f7a7354cf34b9afff33f781ad73ca1 /src/or/main.c | |
parent | bafff6362c52afb103d51927b624042d5d0d48f4 (diff) | |
download | tor-1866ad3506a797ae7d5f06951818cf9e8b0c3822.tar.gz tor-1866ad3506a797ae7d5f06951818cf9e8b0c3822.zip |
r13274@catbus: nickm | 2007-06-05 19:06:30 -0400
Remove some deadcode that seems unlikely to return
svn:r10509
Diffstat (limited to 'src/or/main.c')
-rw-r--r-- | src/or/main.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/or/main.c b/src/or/main.c index 9f88f66c4a..3608b1791b 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -1282,21 +1282,6 @@ do_hup(void) * configuration options. */ cpuworkers_rotate(); dns_reset(); -#if 0 - const char *descriptor; - char keydir[512]; - /* Write out a fresh descriptor, but leave old one on failure. */ - router_rebuild_descriptor(1); - descriptor = router_get_my_descriptor(); - if (descriptor) { - tor_snprintf(keydir,sizeof(keydir),"%s"PATH_SEPARATOR"router.desc", - options->DataDirectory); - log_info(LD_OR,"Saving descriptor to \"%s\"...",keydir); - if (write_str_to_file(keydir, descriptor, 0)) { - return 0; - } - } -#endif } return 0; } |