aboutsummaryrefslogtreecommitdiff
path: root/src/or/connection.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2012-06-15 09:37:40 -0400
committerNick Mathewson <nickm@torproject.org>2012-06-15 15:07:52 -0400
commit2491fff5a6fda1c1e2044d332e551907a579929d (patch)
treecc8dac418a9ae68b9e7ec717f3a8764d532584be /src/or/connection.c
parent8030ec4f272d470b9d01b7095f17252aaca163c2 (diff)
downloadtor-2491fff5a6fda1c1e2044d332e551907a579929d.tar.gz
tor-2491fff5a6fda1c1e2044d332e551907a579929d.zip
Triage the XXX023 and XXX022 comments: postpone many.
Diffstat (limited to 'src/or/connection.c')
-rw-r--r--src/or/connection.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/or/connection.c b/src/or/connection.c
index 34e1a5cb06..9bbab19201 100644
--- a/src/or/connection.c
+++ b/src/or/connection.c
@@ -2280,7 +2280,7 @@ static void
record_num_bytes_transferred(connection_t *conn,
time_t now, size_t num_read, size_t num_written)
{
- /* XXX023 check if this is necessary */
+ /* XXX024 check if this is necessary */
if (num_written >= INT_MAX || num_read >= INT_MAX) {
log_err(LD_BUG, "Value out of range. num_read=%lu, num_written=%lu, "
"connection type=%s, state=%s",
@@ -2925,7 +2925,7 @@ evbuffer_inbuf_callback(struct evbuffer *buf,
connection_consider_empty_read_buckets(conn);
if (conn->type == CONN_TYPE_AP) {
edge_connection_t *edge_conn = TO_EDGE_CONN(conn);
- /*XXXX022 check for overflow*/
+ /*XXXX024 check for overflow*/
edge_conn->n_read += (int)info->n_added;
}
}
@@ -2946,7 +2946,7 @@ evbuffer_outbuf_callback(struct evbuffer *buf,
connection_consider_empty_write_buckets(conn);
if (conn->type == CONN_TYPE_AP) {
edge_connection_t *edge_conn = TO_EDGE_CONN(conn);
- /*XXXX022 check for overflow*/
+ /*XXXX024 check for overflow*/
edge_conn->n_written += (int)info->n_deleted;
}
}