diff options
author | Arch Librarian <arch@canonical.com> | 2004-09-20 16:53:51 +0000 |
---|---|---|
committer | Arch Librarian <arch@canonical.com> | 2004-09-20 16:53:51 +0000 |
commit | 6d13bbcacffbd3b6473616ab3ffce7b9a35af34a (patch) | |
tree | 328867aca3035e6c4efe6c5e94614fc0cafd4b3b /methods/rfc2553emu.cc | |
parent | 533151d3ff0e22a91d0e2bcfc0fa225e8843c97f (diff) |
More tweaks
Author: jgg
Date: 1999-05-27 05:51:18 GMT
More tweaks
Diffstat (limited to 'methods/rfc2553emu.cc')
-rw-r--r-- | methods/rfc2553emu.cc | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/methods/rfc2553emu.cc b/methods/rfc2553emu.cc index 1b0628f98..bd8d2236f 100644 --- a/methods/rfc2553emu.cc +++ b/methods/rfc2553emu.cc @@ -1,14 +1,17 @@ // -*- mode: cpp; mode: fold -*- // Description /*{{{*/ -// $Id: rfc2553emu.cc,v 1.2 1999/05/26 04:08:39 jgg Exp $ +// $Id: rfc2553emu.cc,v 1.3 1999/05/27 05:51:18 jgg Exp $ /* ###################################################################### RFC 2553 Emulation - Provides emulation for RFC 2553 getaddrinfo, freeaddrinfo and getnameinfo + + This is really C code, it just has a .cc extensions to play nicer with + the rest of APT. Originally written by Jason Gunthorpe <jgg@debian.org> and placed into the Public Domain, do with it what you will. - + ##################################################################### */ /*}}}*/ #include "rfc2553emu.h" @@ -156,7 +159,7 @@ int getnameinfo(const struct sockaddr *sa, socklen_t salen, { struct sockaddr_in *sin = (struct sockaddr_in *)sa; - // This routine only support internet addresses + // This routine only supports internet addresses if (sa->sa_family != AF_INET) return EAI_ADDRFAMILY; |