瀏覽代碼

Documentation fix.

svn:r19337
Karsten Loesing 15 年之前
父節點
當前提交
4e6120cffb
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      src/or/routerlist.c

+ 3 - 3
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,