diff options
author | Sebastian Hahn <sebastian@torproject.org> | 2011-03-09 16:39:04 +0100 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2011-03-15 15:13:35 -0400 |
commit | 30b3f0cdb148f85330e2c93ebb1c00f3cfc8655a (patch) | |
tree | 9a747a88d267201470e8d05d89f95be79e66942a /src/or/rendclient.c | |
parent | 1a9d19e9728c21ffa37f2b751df8e8e97c1835d3 (diff) | |
download | tor-30b3f0cdb148f85330e2c93ebb1c00f3cfc8655a.tar.gz tor-30b3f0cdb148f85330e2c93ebb1c00f3cfc8655a.zip |
Fix a compile warning when using clang
Issue noticed by Steven Murdoch; fixes bug 2689. The cast didn't do
anything, and we don't need to look at the return value of the function
here.
Diffstat (limited to 'src/or/rendclient.c')
-rw-r--r-- | src/or/rendclient.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/rendclient.c b/src/or/rendclient.c index af91099fcb..51306b3dc1 100644 --- a/src/or/rendclient.c +++ b/src/or/rendclient.c @@ -412,7 +412,7 @@ directory_get_from_hs_dir(const char *desc_id, const rend_data_t *rend_query) tor_assert(rend_query); /* Determine responsible dirs. Even if we can't get all we want, * work with the ones we have. If it's empty, we'll notice below. */ - (int) hid_serv_get_responsible_directories(responsible_dirs, desc_id); + hid_serv_get_responsible_directories(responsible_dirs, desc_id); base32_encode(desc_id_base32, sizeof(desc_id_base32), desc_id, DIGEST_LEN); |