diff options
author | Nick Mathewson <nickm@torproject.org> | 2004-04-07 22:00:54 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2004-04-07 22:00:54 +0000 |
commit | b07b2cef2907adfe49d87cf441f8e5348396e6f3 (patch) | |
tree | 45fc258963cfd5f07e8c0d8ab68819a7f304d98f /src/or/connection_edge.c | |
parent | 4d14b786dad931fcca987658e7d4c5c6edc3195c (diff) | |
download | tor-b07b2cef2907adfe49d87cf441f8e5348396e6f3.tar.gz tor-b07b2cef2907adfe49d87cf441f8e5348396e6f3.zip |
Remember when we received which service desc.
svn:r1536
Diffstat (limited to 'src/or/connection_edge.c')
-rw-r--r-- | src/or/connection_edge.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/connection_edge.c b/src/or/connection_edge.c index 1f74c11dd5..36b57c064e 100644 --- a/src/or/connection_edge.c +++ b/src/or/connection_edge.c @@ -734,7 +734,7 @@ static int connection_ap_handshake_process_socks(connection_t *conn) { strcpy(conn->rend_query, socks->address); /* this strcpy is safe -RD */ log_fn(LOG_INFO,"Got a hidden service request for ID '%s'", conn->rend_query); /* see if we already have it cached */ - if (rend_cache_lookup(conn->rend_query, &descp, &desc_len) == 1) { + if (rend_cache_lookup_desc(conn->rend_query, &descp, &desc_len) == 1) { conn->state = AP_CONN_STATE_CIRCUIT_WAIT; return connection_ap_handshake_attach_circuit(conn); } else { |