When no descriptors changed, do not send a NEWDESC event.

svn:r5244
This commit is contained in:
Nick Mathewson 2005-10-12 19:41:16 +00:00
parent 905ef987e2
commit aac738d2be

View File

@ -1451,7 +1451,8 @@ router_load_routers_from_string(const char *s, int from_cache,
smartlist_add(changed, ri);
});
control_event_descriptors_changed(changed);
if (smartlist_len(changed))
control_event_descriptors_changed(changed);
router_rebuild_store(0);