summaryrefslogtreecommitdiff
path: root/src/or
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2011-06-22 18:15:27 -0400
committerNick Mathewson <nickm@torproject.org>2011-06-22 18:15:27 -0400
commit9919b0127568253b6bec4f681db3cdc2b5978991 (patch)
tree333c5db1120ef60f69e51569c4add186b2903dea /src/or
parent64a5a4177f905971d0cf9e28a19180c2ea32b02a (diff)
parent2b5ebc70973b1c0dd62201908632733c0953a4ec (diff)
downloadtor-9919b0127568253b6bec4f681db3cdc2b5978991.tar.gz
tor-9919b0127568253b6bec4f681db3cdc2b5978991.zip
Merge remote-tracking branch 'origin/maint-0.2.2'
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 12d93ce0cf..ec43577dfa 100644
--- a/src/or/connection.c
+++ b/src/or/connection.c
@@ -3114,15 +3114,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 7daf195265..730b167d94 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -2483,14 +2483,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)