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

[or-cvs] clean up misleading comment on authdir_wants_to_reject_rout...



Update of /home2/or/cvsroot/tor/src/or
In directory moria:/home/arma/work/onion/cvs/tor/src/or

Modified Files:
	dirserv.c 
Log Message:
clean up misleading comment on authdir_wants_to_reject_router()


Index: dirserv.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/dirserv.c,v
retrieving revision 1.238
retrieving revision 1.239
diff -u -d -r1.238 -r1.239
--- dirserv.c	21 Sep 2005 00:41:06 -0000	1.238
+++ dirserv.c	21 Sep 2005 21:10:36 -0000	1.239
@@ -358,13 +358,13 @@
 /** Check whether we, as a directory server, want to accept <b>ri</b>.  If so,
  * return 0, and set its is_valid,named,running fields.  Otherwise, return -1.
  *
- * If the router is rejected and <b>msg</b> is provided, set
- * *<b>msg</b> to an explanation of why.
+ * If the router is rejected, set *<b>msg</b> to an explanation of why.
  */
 int
 authdir_wants_to_reject_router(routerinfo_t *ri,
                                const char **msg)
 {
+  tor_assert(msg);
   /* Okay.  Now check whether the fingerprint is recognized. */
   router_status_t status = dirserv_router_get_status(ri, msg);
   time_t now;