aboutsummaryrefslogtreecommitdiff
path: root/src/or/directory.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2004-04-07 22:00:54 +0000
committerNick Mathewson <nickm@torproject.org>2004-04-07 22:00:54 +0000
commitb07b2cef2907adfe49d87cf441f8e5348396e6f3 (patch)
tree45fc258963cfd5f07e8c0d8ab68819a7f304d98f /src/or/directory.c
parent4d14b786dad931fcca987658e7d4c5c6edc3195c (diff)
downloadtor-b07b2cef2907adfe49d87cf441f8e5348396e6f3.tar
tor-b07b2cef2907adfe49d87cf441f8e5348396e6f3.tar.gz
Remember when we received which service desc.
svn:r1536
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 dacf47935..1af6bf59d 100644
--- a/src/or/directory.c
+++ b/src/or/directory.c
@@ -369,7 +369,7 @@ static int directory_handle_command_get(connection_t *conn,
const char *descp;
int desc_len;
- switch(rend_cache_lookup(url+strlen(rend_fetch_url), &descp, &desc_len)) {
+ switch(rend_cache_lookup_desc(url+strlen(rend_fetch_url), &descp, &desc_len)) {
case 1: /* valid */
snprintf(tmp, sizeof(tmp), "HTTP/1.0 200 OK\r\nContent-Length: %d\r\n\r\n",
desc_len); /* can't include descp here, because it's got nuls */