[or-cvs] r19337: {tor} Documentation fix. (tor/trunk/src/or)

kloesing at seul.org kloesing at seul.org
Thu Apr 16 08:25:37 UTC 2009


Author: kloesing
Date: 2009-04-16 04:25:36 -0400 (Thu, 16 Apr 2009)
New Revision: 19337

Modified:
   tor/trunk/src/or/routerlist.c
Log:
Documentation fix.


Modified: tor/trunk/src/or/routerlist.c
===================================================================
--- tor/trunk/src/or/routerlist.c	2009-04-15 14:41:13 UTC (rev 19336)
+++ tor/trunk/src/or/routerlist.c	2009-04-16 08:25:36 UTC (rev 19337)
@@ -3672,10 +3672,10 @@
   return router->policy_is_reject_star;
 }
 
-/** Add to the list of authorized directory servers one at
+/** Add to the list of authoritative directory servers one at
  * <b>address</b>:<b>port</b>, with identity key <b>digest</b>.  If
- * <b>address</b> is NULL, add ourself. Return 0 if success, -1 if
- * we couldn't add it. */
+ * <b>address</b> is NULL, add ourself.  Return the new trusted directory
+ * server entry on success or NULL if we couldn't add it. */
 trusted_dir_server_t *
 add_trusted_dir_server(const char *nickname, const char *address,
                        uint16_t dir_port, uint16_t or_port,



More information about the tor-commits mailing list