Browse Source

one of the debugging aids was misleading

svn:r3000
Roger Dingledine 21 years ago
parent
commit
dad760ddd1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/or/relay.c

+ 1 - 1
src/or/relay.c

@@ -703,8 +703,8 @@ connection_edge_process_relay_cell(cell_t *cell, circuit_t *circ,
 
       stats_n_data_bytes_received += rh.length;
       if(conn->type == CONN_TYPE_AP) {
-        log_fn(LOG_DEBUG,"%d: stream size now %d.", conn->s, (int)conn->stream_size);
         conn->stream_size += rh.length;
+        log_fn(LOG_DEBUG,"%d: stream size now %d.", conn->s, (int)conn->stream_size);
       }
       connection_write_to_buf(cell->payload + RELAY_HEADER_SIZE,
                               rh.length, conn);