aboutsummaryrefslogtreecommitdiff
path: root/src/common/address.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/address.c')
-rw-r--r--src/common/address.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/address.c b/src/common/address.c
index 7b122e3f24..0e92b71f91 100644
--- a/src/common/address.c
+++ b/src/common/address.c
@@ -53,6 +53,8 @@
* 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
* sockaddr. */
+/* XXXX021 This returns socklen_t. socklen_t is sometimes unsigned. This
+ * function claims to return -1 sometimes. Problematic! */
socklen_t
tor_addr_to_sockaddr(const tor_addr_t *a,
uint16_t port,