diff options
author | Roger Dingledine <arma@torproject.org> | 2003-12-17 21:09:31 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2003-12-17 21:09:31 +0000 |
commit | 6a19e64066fc0fb362db9b16e386008807d0984c (patch) | |
tree | 54c823c223250a98124090a2ee0d8077e8f44e12 /src/or/connection_or.c | |
parent | 5ecd6b6bada6a7cd9fe7d5f82ae72bdc9577c97d (diff) | |
download | tor-6a19e64066fc0fb362db9b16e386008807d0984c.tar tor-6a19e64066fc0fb362db9b16e386008807d0984c.tar.gz |
remove trailing whitespace
svn:r951
Diffstat (limited to 'src/or/connection_or.c')
-rw-r--r-- | src/or/connection_or.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/or/connection_or.c b/src/or/connection_or.c index e51691387..8a5e20172 100644 --- a/src/or/connection_or.c +++ b/src/or/connection_or.c @@ -118,7 +118,7 @@ connection_t *connection_or_connect(routerinfo_t *router) { return NULL; case 0: connection_set_poll_socket(conn); - connection_watch_events(conn, POLLIN | POLLOUT | POLLERR); + connection_watch_events(conn, POLLIN | POLLOUT | POLLERR); /* writable indicates finish, readable indicates broken link, error indicates broken link on windows */ conn->state = OR_CONN_STATE_CONNECTING; @@ -248,7 +248,7 @@ void connection_or_write_cell_to_buf(const cell_t *cellp, connection_t *conn) { assert(connection_speaks_cells(conn)); cell_pack(n, cellp); - + connection_write_to_buf(n, CELL_NETWORK_SIZE, conn); } @@ -262,13 +262,13 @@ loop: conn->s,(int)buf_datalen(conn->inbuf),tor_tls_get_pending_bytes(conn->tls)); if(buf_datalen(conn->inbuf) < CELL_NETWORK_SIZE) /* entire response available? */ return 0; /* not yet */ - + connection_fetch_from_buf(buf, CELL_NETWORK_SIZE, conn); - + /* retrieve cell info from buf (create the host-order struct from the * network-order string) */ cell_unpack(&cell, buf); - + command_process_cell(&cell, conn); goto loop; /* process the remainder of the buffer */ |