[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] If we stop knowing about a dirserver between request and an...
Update of /home/or/cvsroot/tor/src/or
In directory moria:/tmp/cvs-serv9252
Modified Files:
directory.c
Log Message:
If we stop knowing about a dirserver between request and answer, do not die.
Index: directory.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/directory.c,v
retrieving revision 1.318
retrieving revision 1.319
diff -u -d -r1.318 -r1.319
--- directory.c 5 Nov 2005 20:15:27 -0000 1.318
+++ directory.c 8 Nov 2005 22:30:17 -0000 1.319
@@ -1601,7 +1601,8 @@
base16_decode(digest, DIGEST_LEN, fp, strlen(fp));
dir = router_get_trusteddirserver_by_digest(digest);
- ++dir->n_networkstatus_failures;
+ if (dir)
+ ++dir->n_networkstatus_failures;
});
}