aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarsten Loesing <karsten.loesing@gmx.net>2009-04-16 08:25:36 +0000
committerKarsten Loesing <karsten.loesing@gmx.net>2009-04-16 08:25:36 +0000
commit4e6120cffb2d2f19a8d96492aa3466b86b756c16 (patch)
treeaea6415469f7be1115e5f8ba01e2fa5ed8dc1cc8
parent72e4d48c7a8a7722d01c914766a8a663f97c77ec (diff)
downloadtor-4e6120cffb2d2f19a8d96492aa3466b86b756c16.tar
tor-4e6120cffb2d2f19a8d96492aa3466b86b756c16.tar.gz
Documentation fix.
svn:r19337
-rw-r--r--src/or/routerlist.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c
index fb9666af5..3e78ed547 100644
--- a/src/or/routerlist.c
+++ b/src/or/routerlist.c
@@ -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,