mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 05:33:47 +01:00
Note a problem in the interface tor_addr_to_sockaddr.
svn:r17982
This commit is contained in:
parent
e61c40e9f4
commit
585d4a12b5
@ -53,6 +53,8 @@
|
|||||||
* socklen object in *<b>sa_out</b> of object size <b>len</b>. If not enough
|
* socklen object in *<b>sa_out</b> of object size <b>len</b>. If not enough
|
||||||
* room is free, or on error, return -1. Else return the length of the
|
* room is free, or on error, return -1. Else return the length of the
|
||||||
* sockaddr. */
|
* sockaddr. */
|
||||||
|
/* XXXX021 This returns socklen_t. socklen_t is sometimes unsigned. This
|
||||||
|
* function claims to return -1 sometimes. Problematic! */
|
||||||
socklen_t
|
socklen_t
|
||||||
tor_addr_to_sockaddr(const tor_addr_t *a,
|
tor_addr_to_sockaddr(const tor_addr_t *a,
|
||||||
uint16_t port,
|
uint16_t port,
|
||||||
|
Loading…
Reference in New Issue
Block a user