diff options
author | Nick Mathewson <nickm@torproject.org> | 2009-01-06 20:50:51 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2009-01-06 20:50:51 +0000 |
commit | 585d4a12b50aa0151411c777a6c7d266d71fb46f (patch) | |
tree | b819bb8ea5596df85cb7c2dfb1e79106f16ec302 /src/common/address.c | |
parent | e61c40e9f40be06a21edff1527ee7458c8e2290e (diff) | |
download | tor-585d4a12b50aa0151411c777a6c7d266d71fb46f.tar tor-585d4a12b50aa0151411c777a6c7d266d71fb46f.tar.gz |
Note a problem in the interface tor_addr_to_sockaddr.
svn:r17982
Diffstat (limited to 'src/common/address.c')
-rw-r--r-- | src/common/address.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/address.c b/src/common/address.c index 7b122e3f2..0e92b71f9 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, |