aboutsummaryrefslogtreecommitdiff
path: root/src/or/directory.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2004-02-28 04:34:27 +0000
committerNick Mathewson <nickm@torproject.org>2004-02-28 04:34:27 +0000
commitb4a7883c90716aed9362340e2905baf8d5c049c5 (patch)
treef397d65672e5a4ebd9a625e9f0adf0ff023430a1 /src/or/directory.c
parentee68371f41def2fff7ef92f715c858bbe1b36c2f (diff)
downloadtor-b4a7883c90716aed9362340e2905baf8d5c049c5.tar
tor-b4a7883c90716aed9362340e2905baf8d5c049c5.tar.gz
make code more readable; arrbitrarily change a -1 to a 0.
svn:r1151
Diffstat (limited to 'src/or/directory.c')
-rw-r--r--src/or/directory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/directory.c b/src/or/directory.c
index f7a07a81a..33da6e253 100644
--- a/src/or/directory.c
+++ b/src/or/directory.c
@@ -122,7 +122,7 @@ int connection_dir_process_inbuf(connection_t *conn) {
log_fn(LOG_INFO,"Empty directory. Ignoring.");
free(directory);
connection_mark_for_close(conn,0);
- return -1;
+ return 0;
}
if(router_set_routerlist_from_directory(directory, conn->identity_pkey) < 0){
log_fn(LOG_INFO,"...but parsing failed. Ignoring.");