summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2008-01-19 20:00:53 +0000
committerRoger Dingledine <arma@torproject.org>2008-01-19 20:00:53 +0000
commita1f2817307ee2d4b4754db1d76f96f8019f5e857 (patch)
tree7418d40783ec291a21d46db8f88e6d96e0f2658b
parent250590b9e7ed100ea406c86a048d9547d09a536f (diff)
downloadtor-a1f2817307ee2d4b4754db1d76f96f8019f5e857.tar.gz
tor-a1f2817307ee2d4b4754db1d76f96f8019f5e857.zip
minor cleanups
svn:r13190
-rw-r--r--src/or/connection_edge.c2
-rw-r--r--src/or/connection_or.c2
-rw-r--r--src/or/or.h26
3 files changed, 15 insertions, 15 deletions
diff --git a/src/or/connection_edge.c b/src/or/connection_edge.c
index c42e8ca4f5..9fc8da8fb0 100644
--- a/src/or/connection_edge.c
+++ b/src/or/connection_edge.c
@@ -1402,7 +1402,7 @@ connection_ap_handshake_rewrite_and_attach(edge_connection_t *conn,
}
} else if (socks->command == SOCKS_COMMAND_RESOLVE_PTR) {
rep_hist_note_used_resolve(time(NULL)); /* help predict this next time */
- ; /* nothing */
+ /* no extra processing needed */
} else {
tor_fragile_assert();
}
diff --git a/src/or/connection_or.c b/src/or/connection_or.c
index c639649de1..144d0acf5b 100644
--- a/src/or/connection_or.c
+++ b/src/or/connection_or.c
@@ -911,7 +911,7 @@ connection_or_set_state_open(or_connection_t *conn)
/** Pack <b>cell</b> into wire-format, and write it onto <b>conn</b>'s outbuf.
* For cells that use or affect a circuit, this should only be called by
- * connection_or_flush_from_first_active_circuit()
+ * connection_or_flush_from_first_active_circuit().
*/
void
connection_or_write_cell_to_buf(const cell_t *cell, or_connection_t *conn)
diff --git a/src/or/or.h b/src/or/or.h
index d19b41b94b..9b176b7fb4 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -2100,7 +2100,7 @@ typedef struct {
/** Boolean: should we never publish a descriptor? Deprecated. */
int NoPublish;
/** To what authority types do we publish our descriptor? Choices are
- * "v1", "v2", "bridge", or "". */
+ * "v1", "v2", "v3", "bridge", or "". */
smartlist_t *PublishServerDescriptor;
/** An authority type, derived from PublishServerDescriptor. */
authority_type_t _PublishServerDescriptor;
@@ -2108,7 +2108,7 @@ typedef struct {
int PublishHidServDescriptors;
int FetchServerDescriptors; /**< Do we fetch server descriptors as normal? */
int FetchHidServDescriptors; /** and hidden service descriptors? */
- int HidServDirectoryV2; /**< Do we act as hs dir? */
+ int HidServDirectoryV2; /**< Do we participate in the HS DHT? */
int MinUptimeHidServDirectoryV2; /**< As directory authority, accept hidden
* service directories after what time? */
@@ -2176,17 +2176,17 @@ typedef struct {
char *TestVia; /**< When reachability testing, use these as middle hop. */
config_line_t *RendConfigLines; /**< List of configuration lines
* for rendezvous services. */
- char *ContactInfo; /**< Contact info to be published in the directory */
+ char *ContactInfo; /**< Contact info to be published in the directory. */
- char *HttpProxy; /**< hostname[:port] to use as http proxy, if any */
- uint32_t HttpProxyAddr; /**< Parsed IPv4 addr for http proxy, if any */
- uint16_t HttpProxyPort; /**< Parsed port for http proxy, if any */
- char *HttpProxyAuthenticator; /**< username:password string, if any */
+ char *HttpProxy; /**< hostname[:port] to use as http proxy, if any. */
+ uint32_t HttpProxyAddr; /**< Parsed IPv4 addr for http proxy, if any. */
+ uint16_t HttpProxyPort; /**< Parsed port for http proxy, if any. */
+ char *HttpProxyAuthenticator; /**< username:password string, if any. */
- char *HttpsProxy; /**< hostname[:port] to use as https proxy, if any */
- uint32_t HttpsProxyAddr; /**< Parsed IPv4 addr for https proxy, if any */
- uint16_t HttpsProxyPort; /**< Parsed port for https proxy, if any */
- char *HttpsProxyAuthenticator; /**< username:password string, if any */
+ char *HttpsProxy; /**< hostname[:port] to use as https proxy, if any. */
+ uint32_t HttpsProxyAddr; /**< Parsed IPv4 addr for https proxy, if any. */
+ uint16_t HttpsProxyPort; /**< Parsed port for https proxy, if any. */
+ char *HttpsProxyAuthenticator; /**< username:password string, if any. */
/** List of configuration lines for replacement directory authorities.
* If you just want to replace one class of authority at a time,
@@ -2309,9 +2309,9 @@ typedef struct {
/** The length of time that we think a consensus should be fresh. */
int V3AuthVotingInterval;
- /** The length of time we think it will take to distribute votes */
+ /** The length of time we think it will take to distribute votes. */
int V3AuthVoteDelay;
- /** The length of time we think it will take to distribute signatures */
+ /** The length of time we think it will take to distribute signatures. */
int V3AuthDistDelay;
/** The number of intervals we think a consensus should be valid. */
int V3AuthNIntervalsValid;