diff options
author | Nick Mathewson <nickm@torproject.org> | 2012-10-17 10:34:23 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-10-17 11:12:59 -0400 |
commit | f633184af1f0dd4a0d2a4c3490d95a8aa6e964d1 (patch) | |
tree | 44f298cab053da82c5ff8f391fe5fe8a0c74bb2a /src | |
parent | 4164f481c81a6e3529821424e4a8ae044288b0ee (diff) | |
download | tor-f633184af1f0dd4a0d2a4c3490d95a8aa6e964d1.tar tor-f633184af1f0dd4a0d2a4c3490d95a8aa6e964d1.tar.gz |
Document return value of channel_get_addr_if_possible
Diffstat (limited to 'src')
-rw-r--r-- | src/or/channel.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/or/channel.c b/src/or/channel.c index 49ce12958..10097ae47 100644 --- a/src/or/channel.c +++ b/src/or/channel.c @@ -3506,12 +3506,12 @@ channel_get_canonical_remote_descr(channel_t *chan) } /** - * Get remote address if possible + * Get remote address if possible. * * Write the remote address out to a tor_addr_t if the underlying transport - * supports this operation. + * supports this operation, and return 1. Return 0 if the underlying transport + * doesn't let us do this. */ - int channel_get_addr_if_possible(channel_t *chan, tor_addr_t *addr_out) { |