From 0a27b532521ec7d246e32a3a1d01723db326f638 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Sat, 19 May 2007 18:12:31 +0000 Subject: r12802@catbus: nickm | 2007-05-19 14:12:27 -0400 clear some ram when freeing it; add some more checks to assert_routerlist_ok. svn:r10218 --- src/or/router.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/or/router.c') diff --git a/src/or/router.c b/src/or/router.c index 3bd8d41f8f..f7418ab00e 100644 --- a/src/or/router.c +++ b/src/or/router.c @@ -334,8 +334,7 @@ init_keys(void) log_err(LD_GENERAL,"Generated a routerinfo we couldn't parse."); return -1; } - if (dirserv_add_descriptor(ri, &m) - < 0) { + if (dirserv_add_descriptor(ri, &m) < 0) { log_err(LD_GENERAL,"Unable to add own descriptor to directory: %s", m?m:""); return -1; -- cgit v1.2.3-54-g00ecf