[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] fix some logs and comments
Update of /home2/or/cvsroot/tor/src/or
In directory moria:/home/arma/work/onion/cvs/tor/src/or
Modified Files:
directory.c dirserv.c
Log Message:
fix some logs and comments
Index: directory.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/directory.c,v
retrieving revision 1.249
retrieving revision 1.250
diff -u -d -r1.249 -r1.250
--- directory.c 26 Aug 2005 21:46:24 -0000 1.249
+++ directory.c 26 Aug 2005 21:55:38 -0000 1.250
@@ -1196,7 +1196,7 @@
log_fn(LOG_NOTICE,"Rejected descriptor published by %s.", origin);
break;
case 0:
- write_http_status_line(conn, 200, msg?msg:"Server okay, but not accepted.");
+ write_http_status_line(conn, 200, msg?msg:"Server descriptor okay, but not accepted.");
break;
case 1:
dirserv_get_directory(&cp, 0); /* rebuild and write to disk */
Index: dirserv.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/dirserv.c,v
retrieving revision 1.193
retrieving revision 1.194
diff -u -d -r1.193 -r1.194
--- dirserv.c 26 Aug 2005 21:46:24 -0000 1.193
+++ dirserv.c 26 Aug 2005 21:55:38 -0000 1.194
@@ -330,7 +330,7 @@
* origin of this descriptor, or to NULL.
*
* Return 1 if descriptor is well-formed and accepted;
- * 0 if well-formed and server is well-formed but rejected for timeliness.
+ * 0 if well-formed but redundant with one we already have;
* -1 if it looks vaguely like a router descriptor but rejected;
* -2 if we can't find a router descriptor in *desc.
*/