diff options
author | Nick Mathewson <nickm@torproject.org> | 2006-10-20 15:26:02 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2006-10-20 15:26:02 +0000 |
commit | 2d7cf75e427be142ec3a122e1eb159e3ddb13507 (patch) | |
tree | 321e9dd05d47e4936b11eb5c7c01a5870e7fe8d7 /src/or/relay.c | |
parent | e5f064c983eba136e3d448914995e79f1f55959d (diff) | |
download | tor-2d7cf75e427be142ec3a122e1eb159e3ddb13507.tar.gz tor-2d7cf75e427be142ec3a122e1eb159e3ddb13507.zip |
r9298@dhcp-18-188-67-85: nickm | 2006-10-20 11:25:07 -0400
Weasel correctly notes that we should not discard the return value from connection_exit_begin_con. Right now, the return value is always discardable, so this does not actually cause a bug, but it might later. So fix it.
svn:r8774
Diffstat (limited to 'src/or/relay.c')
-rw-r--r-- | src/or/relay.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/or/relay.c b/src/or/relay.c index f70ed23170..f084461c89 100644 --- a/src/or/relay.c +++ b/src/or/relay.c @@ -984,8 +984,7 @@ connection_edge_process_relay_cell(cell_t *cell, circuit_t *circ, "Begin cell for known stream. Dropping."); return 0; } - connection_exit_begin_conn(cell, circ); - return 0; + return connection_exit_begin_conn(cell, circ); case RELAY_COMMAND_DATA: ++stats_n_data_cells_received; if (( layer_hint && --layer_hint->deliver_window < 0) || |