mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
getting closer to having dirserv working
we now add our own descriptor to the descriptor list and we rebuild the directory (and dump to disk) after receiving a POST svn:r509
This commit is contained in:
+1
-1
@@ -200,7 +200,7 @@ dirserv_add_descriptor(const char **desc)
|
||||
/* if so, decide whether to update it. */
|
||||
if ((*desc_ent_ptr)->published > ri->published_on) {
|
||||
/* We already have a newer descriptor */
|
||||
log_fn(LOG_INFO,"We already have a newer desc for nickname %s. Ignoring.",ri->nickname);
|
||||
log_fn(LOG_INFO,"We already have a newer desc for nickname %s. Not adding.",ri->nickname);
|
||||
goto err;
|
||||
}
|
||||
/* We don't have a newer one; we'll update this one. */
|
||||
|
||||
Reference in New Issue
Block a user