]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Documentation fix.
authorKarsten Loesing <karsten.loesing@gmx.net>
Thu, 16 Apr 2009 08:25:36 +0000 (08:25 +0000)
committerKarsten Loesing <karsten.loesing@gmx.net>
Thu, 16 Apr 2009 08:25:36 +0000 (08:25 +0000)
svn:r19337

src/or/routerlist.c

index fb9666af5c4f4be92b81278351b92c0d6e873664..3e78ed5479d40fd455d2044f68e45ef438966c49 100644 (file)
@@ -3672,10 +3672,10 @@ router_exit_policy_rejects_all(routerinfo_t *router)
   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,