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

[or-cvs] Log when we retry a directory connection



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

Modified Files:
	directory.c 
Log Message:
Log when we retry a directory connection

Index: directory.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/directory.c,v
retrieving revision 1.185
retrieving revision 1.186
diff -u -d -r1.185 -r1.186
--- directory.c	3 Jan 2005 20:51:24 -0000	1.185
+++ directory.c	3 Jan 2005 21:14:09 -0000	1.186
@@ -229,7 +229,8 @@
   router_mark_as_down(conn->identity_digest); /* don't try him again */
   if (conn->purpose == DIR_PURPOSE_FETCH_DIR ||
       conn->purpose == DIR_PURPOSE_FETCH_RUNNING_LIST) {
-    log_fn(LOG_INFO, "Giving up on directory server at '%s'; retrying");
+    log_fn(LOG_INFO, "Giving up on directory server at '%s'; retrying",
+           conn->address);
     directory_get_from_dirserver(conn->purpose, NULL,
                                  0 /* don't retry_if_no_servers */);
   }