summaryrefslogtreecommitdiff
path: root/src/or/connection_or.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2003-10-04 02:38:18 +0000
committerRoger Dingledine <arma@torproject.org>2003-10-04 02:38:18 +0000
commitf563bbd2f988cd1f6ca292f89a47a86f98fe0e8d (patch)
tree08b3ea32a4ce45bc729225bd1beeed555fd0dd52 /src/or/connection_or.c
parenta6bab569abd3ac8f16a3603813fa03e4585a3bd3 (diff)
downloadtor-f563bbd2f988cd1f6ca292f89a47a86f98fe0e8d.tar.gz
tor-f563bbd2f988cd1f6ca292f89a47a86f98fe0e8d.zip
refactor so connection_write_to_buf() never fails
svn:r537
Diffstat (limited to 'src/or/connection_or.c')
-rw-r--r--src/or/connection_or.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/connection_or.c b/src/or/connection_or.c
index 579cea4997..0a1e41406d 100644
--- a/src/or/connection_or.c
+++ b/src/or/connection_or.c
@@ -248,13 +248,13 @@ static int connection_tls_finish_handshake(connection_t *conn) {
/* ********************************** */
-int connection_write_cell_to_buf(const cell_t *cellp, connection_t *conn) {
+void connection_write_cell_to_buf(const cell_t *cellp, connection_t *conn) {
char networkcell[CELL_NETWORK_SIZE];
char *n = networkcell;
cell_pack(n, cellp);
- return connection_write_to_buf(n, CELL_NETWORK_SIZE, conn);
+ connection_write_to_buf(n, CELL_NETWORK_SIZE, conn);
}
/* if there's a whole cell there, pull it off and process it. */