this function is include in the source of milter-greylist not an OS one (see pending.c). Le 20 sept. 2004, à 15:39, Matthias Scheler a écrit : > On Mon, Sep 20, 2004 at 01:32:15PM +0000, Emmanuel Dreyfus wrote: >> On Mon, Sep 20, 2004 at 03:24:32PM +0200, Alexandre CHERIF wrote: >>> line 273 of milter-greylist.c: >>> inet_ntop(AF_INET, &priv->priv_addr, ipstr, IPADDRLEN); >>> >>> change to >>> if (!iptostring(SA(&priv->priv_addr), >>> priv->priv_addrlen, ipstr, sizeof(ipstr))) >> Anyone has an opinion about this change? > > It is not portable. Neither Solaris nor NetBSD have that function. > What about using getnameinfo()? > > Kind regards > > -- > Matthias Scheler > http://scheler.de/~matthias/ > > > > > Yahoo! Groups Links > > > > >
Message
Re: [milter-greylist] [SPF] libspf_alt vs libspf2
2004-09-20 by Alexandre CHERIF