Explorar el Código

one of the debugging aids was misleading

svn:r3000
Roger Dingledine hace 21 años
padre
commit
dad760ddd1
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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;
       stats_n_data_bytes_received += rh.length;
       if(conn->type == CONN_TYPE_AP) {
       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;
         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,
       connection_write_to_buf(cell->payload + RELAY_HEADER_SIZE,
                               rh.length, conn);
                               rh.length, conn);