[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] Note that a descriptor has changed when we receive a new di...



Update of /home/or/cvsroot/tor/src/or
In directory moria:/tmp/cvs-serv32694/src/or

Modified Files:
	dirserv.c 
Log Message:
Note that a descriptor has changed when we receive a new directory.

Index: dirserv.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/dirserv.c,v
retrieving revision 1.188
retrieving revision 1.189
diff -u -d -r1.188 -r1.189
--- dirserv.c	26 Aug 2005 20:59:04 -0000	1.188
+++ dirserv.c	26 Aug 2005 21:02:18 -0000	1.189
@@ -371,6 +371,10 @@
   if (router_add_to_routerlist(ri, msg)) {
     return -1;
   } else {
+    smartlist_t *changed = smartlist_create();
+    smartlist_add(changed, ri);
+    control_event_descriptors_changed(changed);
+    smartlist_free(changed);
     return ri->is_verified ? 1 : 0;
   }
 }