aboutsummaryrefslogtreecommitdiff
path: root/src/or
diff options
context:
space:
mode:
authorRobert Ransom <rransom.8774@gmail.com>2011-06-19 01:28:40 -0700
committerRobert Ransom <rransom.8774@gmail.com>2011-06-22 14:09:43 -0700
commitd7254bea11a0fc2685cc2ea24fb57d2ab3945b2f (patch)
tree2a1a0cda35b41780c2dfe88c6d46e864d580e2e3 /src/or
parent8a55da57ed17dfb9cefe3193cbda53a15547630e (diff)
downloadtor-d7254bea11a0fc2685cc2ea24fb57d2ab3945b2f.tar
tor-d7254bea11a0fc2685cc2ea24fb57d2ab3945b2f.tar.gz
Fix minor comment issues
Diffstat (limited to 'src/or')
-rw-r--r--src/or/connection.c6
-rw-r--r--src/or/or.h6
2 files changed, 6 insertions, 6 deletions
diff --git a/src/or/connection.c b/src/or/connection.c
index a9e3a74ed..b2412a2a3 100644
--- a/src/or/connection.c
+++ b/src/or/connection.c
@@ -2751,15 +2751,15 @@ connection_outbuf_too_full(connection_t *conn)
return (conn->outbuf_flushlen > 10*CELL_PAYLOAD_SIZE);
}
-/** Try to flush more bytes onto conn-\>s.
+/** Try to flush more bytes onto <b>conn</b>-\>s.
*
* This function gets called either from conn_write() in main.c
* when poll() has declared that conn wants to write, or below
* from connection_write_to_buf() when an entire TLS record is ready.
*
- * Update conn-\>timestamp_lastwritten to now, and call flush_buf
+ * Update <b>conn</b>-\>timestamp_lastwritten to now, and call flush_buf
* or flush_buf_tls appropriately. If it succeeds and there are no more
- * more bytes on conn->outbuf, then call connection_finished_flushing
+ * more bytes on <b>conn</b>-\>outbuf, then call connection_finished_flushing
* on it too.
*
* If <b>force</b>, then write as many bytes as possible, ignoring bandwidth
diff --git a/src/or/or.h b/src/or/or.h
index 97fecd150..1909887bb 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -2318,14 +2318,14 @@ typedef struct or_circuit_t {
cell_ewma_t p_cell_ewma;
} or_circuit_t;
-/** Convert a circuit subtype to a circuit_t.*/
+/** Convert a circuit subtype to a circuit_t. */
#define TO_CIRCUIT(x) (&((x)->_base))
-/** Convert a circuit_t* to a pointer to the enclosing or_circuit_t. Asserts
+/** Convert a circuit_t* to a pointer to the enclosing or_circuit_t. Assert
* if the cast is impossible. */
static or_circuit_t *TO_OR_CIRCUIT(circuit_t *);
/** Convert a circuit_t* to a pointer to the enclosing origin_circuit_t.
- * Asserts if the cast is impossible. */
+ * Assert if the cast is impossible. */
static origin_circuit_t *TO_ORIGIN_CIRCUIT(circuit_t *);
static INLINE or_circuit_t *TO_OR_CIRCUIT(circuit_t *x)