mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 14:23:30 +01:00
Document return value of channel_get_addr_if_possible
This commit is contained in:
parent
4164f481c8
commit
f633184af1
@ -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
|
* 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
|
int
|
||||||
channel_get_addr_if_possible(channel_t *chan, tor_addr_t *addr_out)
|
channel_get_addr_if_possible(channel_t *chan, tor_addr_t *addr_out)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user