[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] When no descriptors changed, do not send a NEWDESC event.
Update of /home/or/cvsroot/tor/src/or
In directory moria:/tmp/cvs-serv30831/src/or
Modified Files:
routerlist.c
Log Message:
When no descriptors changed, do not send a NEWDESC event.
Index: routerlist.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/routerlist.c,v
retrieving revision 1.339
retrieving revision 1.340
diff -u -d -r1.339 -r1.340
--- routerlist.c 12 Oct 2005 18:25:25 -0000 1.339
+++ routerlist.c 12 Oct 2005 19:41:16 -0000 1.340
@@ -1451,7 +1451,8 @@
smartlist_add(changed, ri);
});
- control_event_descriptors_changed(changed);
+ if (smartlist_len(changed))
+ control_event_descriptors_changed(changed);
router_rebuild_store(0);