aboutsummaryrefslogtreecommitdiff
path: root/src/or/connection_or.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/connection_or.c')
-rw-r--r--src/or/connection_or.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/connection_or.c b/src/or/connection_or.c
index 9b9bfe7bfb..f7fdcc1d89 100644
--- a/src/or/connection_or.c
+++ b/src/or/connection_or.c
@@ -32,7 +32,7 @@ int connection_or_process_inbuf(connection_t *conn) {
if(conn->inbuf_reached_eof) {
log_fn(LOG_INFO,"OR connection reached EOF. Closing.");
connection_mark_for_close(conn,0);
- return -1;
+ return 0;
}
if(conn->state != OR_CONN_STATE_OPEN)