[or-cvs] Mark service descriptors as dirty when we have lost an intr...

Nick Mathewson nickm at seul.org
Tue Apr 13 17:20:43 UTC 2004


Update of /home/or/cvsroot/src/or
In directory moria.mit.edu:/tmp/cvs-serv20761/src/or

Modified Files:
	rendservice.c 
Log Message:
Mark service descriptors as dirty when we have lost an intro point

Index: rendservice.c
===================================================================
RCS file: /home/or/cvsroot/src/or/rendservice.c,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -d -r1.49 -r1.50
--- rendservice.c	13 Apr 2004 17:16:47 -0000	1.49
+++ rendservice.c	13 Apr 2004 17:20:41 -0000	1.50
@@ -734,7 +734,7 @@
       router = router_get_by_nickname(smartlist_get(service->intro_nodes,j));
       if (!router || !find_intro_circuit(router,service->pk_digest)) {
         smartlist_del(service->intro_nodes,j--);
-        changed = 1;
+        changed = service->desc_is_dirty = 1;
       }
       smartlist_add(intro_routers, router);
     }



More information about the tor-commits mailing list