let bob replenish his intro points and republish service desc

as necessary


svn:r1528
This commit is contained in:
Roger Dingledine 2004-04-07 20:47:50 +00:00
parent 34f748beda
commit 4df06ab5bb

View File

@ -333,6 +333,7 @@ static void run_scheduled_events(time_t now) {
* our descriptor (if any). */
if(time_to_fetch_directory < now) {
/* it's time to fetch a new directory and/or post our descriptor */
rend_services_init(); /* make new intro points and re-upload if necessary */
if(options.ORPort) {
router_rebuild_descriptor();
router_upload_dir_desc_to_dirservers();