aboutsummaryrefslogtreecommitdiff
path: root/src/or/onion.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/onion.c')
-rw-r--r--src/or/onion.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/or/onion.c b/src/or/onion.c
index 42b978fb1..84d70df40 100644
--- a/src/or/onion.c
+++ b/src/or/onion.c
@@ -151,9 +151,7 @@ int onionskin_answer(circuit_t *circ, unsigned char *payload, unsigned char *key
return -1;
}
- if(connection_write_cell_to_buf(&cell, circ->p_conn) < 0) {
- return -1;
- }
+ connection_write_cell_to_buf(&cell, circ->p_conn);
log_fn(LOG_DEBUG,"Finished sending 'created' cell.");
return 0;