diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1998-02-16 07:08:58 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1998-02-16 07:08:58 +0000 |
commit | 65c787b41ef722205ccdad89a8c770a241dcd1d7 (patch) | |
tree | be8b2e10251510d596a56632c4b6909f80c82f29 | |
parent | 91789490e8a84d99271afed5ac054cc899b7bd0a (diff) | |
download | fetchmail-65c787b41ef722205ccdad89a8c770a241dcd1d7.tar.gz fetchmail-65c787b41ef722205ccdad89a8c770a241dcd1d7.tar.bz2 fetchmail-65c787b41ef722205ccdad89a8c770a241dcd1d7.zip |
Document a bug.
svn path=/trunk/; revision=1635
-rw-r--r-- | socket.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -103,6 +103,12 @@ int SockOpen(const char *host, int clientPort) if (hp == NULL || (hp->h_length != 4 && hp->h_length != 8)) return -1; + /* + * FIXME: make this work for multihomed hosts. + * We're toast if we get back multiple addresses and h_addrs[0] + * (aka h_addr) is not one we can actually connect to; this happens + * with multi-homed boxen. + */ memcpy(&ad.sin_addr, hp->h_addr, hp->h_length); } ad.sin_port = htons(clientPort); |