mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-24 22:58:50 +01:00
Improve a few comments
This commit is contained in:
parent
8d81831d71
commit
9facf8918f
1 changed files with 3 additions and 3 deletions
|
@ -51,11 +51,11 @@
|
|||
|
||||
/** Convert the tor_addr_t in <b>a</b>, with port in <b>port</b>, into a
|
||||
* sockaddr object in *<b>sa_out</b> of object size <b>len</b>. If not enough
|
||||
* room is available in sa_out, or on error, return 0 On success, return
|
||||
* room is available in sa_out, or on error, return 0. On success, return
|
||||
* the length of the sockaddr.
|
||||
*
|
||||
* Interface note: ordinarly, we return -1 for error. We can't do that here,
|
||||
* since socklen is unsigned on some platforms.
|
||||
* Interface note: ordinarily, we return -1 for error. We can't do that here,
|
||||
* since socklen_t is unsigned on some platforms.
|
||||
**/
|
||||
socklen_t
|
||||
tor_addr_to_sockaddr(const tor_addr_t *a,
|
||||
|
|
Loading…
Add table
Reference in a new issue