diff options
author | Nick Mathewson <nickm@torproject.org> | 2004-03-31 04:10:10 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2004-03-31 04:10:10 +0000 |
commit | 8fedefe6cb755fd2f4477c059024df8bd45e6df1 (patch) | |
tree | d472ae34bc38a2819798dcd995b2c2dc81895909 /src/or/directory.c | |
parent | 342ce84b013e440676cd0d9851c999c1cf85f5c7 (diff) | |
download | tor-8fedefe6cb755fd2f4477c059024df8bd45e6df1.tar tor-8fedefe6cb755fd2f4477c059024df8bd45e6df1.tar.gz |
rename hidserv_xx
svn:r1406
Diffstat (limited to 'src/or/directory.c')
-rw-r--r-- | src/or/directory.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/directory.c b/src/or/directory.c index 9c9cc9d38..f76e5ab80 100644 --- a/src/or/directory.c +++ b/src/or/directory.c @@ -329,7 +329,7 @@ static int directory_handle_command_get(connection_t *conn, const char *descp; int desc_len; - switch(hidserv_lookup(url+9, &descp, &desc_len)) { + switch(rend_cache_lookup(url+9, &descp, &desc_len)) { case 1: /* valid */ connection_write_to_buf(answer200, strlen(answer200), conn); connection_write_to_buf(descp, desc_len, conn); /* XXXX Contains NULs*/ @@ -384,7 +384,7 @@ static int directory_handle_command_post(connection_t *conn, } if(!strncmp(url,"/hidserv/",9)) { /* hidserv descriptor post */ - if(hidserv_store(body, body_len) < 0) + if(rend_cache_store(body, body_len) < 0) connection_write_to_buf(answer400, strlen(answer400), conn); else connection_write_to_buf(answer200, strlen(answer200), conn); |