aboutsummaryrefslogtreecommitdiff
path: root/src/or/connection_edge.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2007-09-18 21:17:45 +0000
committerRoger Dingledine <arma@torproject.org>2007-09-18 21:17:45 +0000
commiteb9dc12ce94749665962d9ca30f76ac4341e2662 (patch)
tree822c3b3990526b753804b4a9adeed8cbde050d42 /src/or/connection_edge.c
parent722aac798e68d226de7f0b1a857e1becbce2faf7 (diff)
downloadtor-eb9dc12ce94749665962d9ca30f76ac4341e2662.tar.gz
tor-eb9dc12ce94749665962d9ca30f76ac4341e2662.zip
Drop support for v1 rendezvous descriptors, since we never used
them anyway, and the code has probably rotted by now. Based on patch from Karsten Loesing. svn:r11496
Diffstat (limited to 'src/or/connection_edge.c')
-rw-r--r--src/or/connection_edge.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/connection_edge.c b/src/or/connection_edge.c
index 50b5c48aab..cb319bda2f 100644
--- a/src/or/connection_edge.c
+++ b/src/or/connection_edge.c
@@ -1441,7 +1441,7 @@ connection_ap_handshake_rewrite_and_attach(edge_connection_t *conn,
log_info(LD_REND,"Got a hidden service request for ID '%s'",
safe_str(conn->rend_query));
/* see if we already have it cached */
- r = rend_cache_lookup_entry(conn->rend_query, -1, &entry);
+ r = rend_cache_lookup_entry(conn->rend_query, 0, &entry);
if (r<0) {
log_warn(LD_BUG,"Invalid service name '%s'",
safe_str(conn->rend_query));