aboutsummaryrefslogtreecommitdiff
path: root/src/or/routerlist.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/routerlist.c')
-rw-r--r--src/or/routerlist.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c
index bf20f55982..e0c69b65a5 100644
--- a/src/or/routerlist.c
+++ b/src/or/routerlist.c
@@ -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);