[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [leafnode-list] [ANNOUNCE] First Leafnode-2.0 beta version



On Wed, Oct 25, 2000 at 06:41:52PM +0200, Cornelius Krasel wrote:

> > /nntpd.c: In function `doauthinfo':
> > /nntpd.c:1718: warning: unused variable `salt'

> This is because of the rudimentary authinfo code which needs improvement.

With glibc 2.2 with IPv6 and 2.0b2 I get:

gcc -c -g -O2 -I. -DHAVE_CONFIG_H -Wall -Wstrict-prototypes
-Wmissing-prototypes -g ./nntpd.c
/nntpd.c: In function `doauthinfo':
/nntpd.c:1718: warning: unused variable `salt'
/nntpd.c: In function `main':
/nntpd.c:1894: union has no member named `sin_addr'
make[1]: *** [nntpd.o] Error 1
make[1]: Leaving directory `/usr/local/packages/leafnode/leafnode-2.0b2'
make: *** [build-stamp] Error 2

because the relevant line:

        syslog( LOG_INFO, "Connect from %s", inet_ntoa(peer.sin_addr) );

assumes IPv4 addresses.

-- 
Mark Brown  mailto:broonie@xxxxxxxxxxxxxxx   (Trying to avoid grumpiness)
            http://www.tardis.ed.ac.uk/~broonie/
EUFS        http://www.eusa.ed.ac.uk/societies/filmsoc/


-- 
leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx -- mailing list for leafnode
To unsubscribe, send mail with "unsubscribe" in the subject to the list