diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-05-15 07:13:56 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-05-15 07:13:56 +0000 |
commit | ca32b4d5b51b95fac2b030874025ac4c19be8414 (patch) | |
tree | 52359094fb100f38f45e166601795e39bc218a72 /src/or/router.c | |
parent | a7514649c32b2d526c58a680b220510e916f62f9 (diff) | |
download | tor-ca32b4d5b51b95fac2b030874025ac4c19be8414.tar.gz tor-ca32b4d5b51b95fac2b030874025ac4c19be8414.zip |
r12761@catbus: nickm | 2007-05-15 03:13:52 -0400
Be a lot smarter when parsing lists of routers and extrainfos.
svn:r10193
Diffstat (limited to 'src/or/router.c')
-rw-r--r-- | src/or/router.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/router.c b/src/or/router.c index 17470cc5f9..8937e04271 100644 --- a/src/or/router.c +++ b/src/or/router.c @@ -328,7 +328,7 @@ init_keys(void) log_err(LD_GENERAL,"Error initializing descriptor."); return -1; } - if (dirserv_add_descriptor(mydesc, NULL, &m) < 0) { + if (dirserv_add_descriptor(router_get_my_routerinfo(), &m) < 0) { log_err(LD_GENERAL,"Unable to add own descriptor to directory: %s", m?m:"<unknown error>"); return -1; |