aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2004-04-15 01:23:43 +0000
committerNick Mathewson <nickm@torproject.org>2004-04-15 01:23:43 +0000
commit3f352719f323f343933d8371f67b3c5a862caa9d (patch)
tree07c90e65f92431d4584c89624793b1e2aea2bd05 /src
parent26c1c8f173c0d7c7ac0b882ac12e88a74976d538 (diff)
downloadtor-3f352719f323f343933d8371f67b3c5a862caa9d.tar
tor-3f352719f323f343933d8371f67b3c5a862caa9d.tar.gz
Add a missing return -1
svn:r1629
Diffstat (limited to 'src')
-rw-r--r--src/or/rendservice.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/rendservice.c b/src/or/rendservice.c
index 2dc8b5f1a..d2c5e9b43 100644
--- a/src/or/rendservice.c
+++ b/src/or/rendservice.c
@@ -895,6 +895,7 @@ rend_service_set_connection_addr_port(connection_t *conn, circuit_t *circ)
serviceid, circ->n_circ_id);
circuit_mark_for_close(circ);
connection_mark_for_close(conn, 0/*XXX*/);
+ return -1;
}
for (i = 0; i < smartlist_len(service->ports); ++i) {
p = smartlist_get(service->ports, i);