[syslog-ng]Compile error...
Balazs Scheidler
bazsi@balabit.hu
Fri, 11 May 2001 10:12:48 +0200
> > nscache.c: In function `nscache_new':
> > nscache.c:112: `INADDR_NONE' undeclared (first use in this function)
> > nscache.c:112: (Each undeclared identifier is reported only once
> > nscache.c:112: for each function it appears in.)
> > gmake[3]: *** [nscache.o] Error 1
> > gmake[3]: Leaving directory
> > `/a/mustang.cs.fiu.edu./disk/33/a/depot/syslog-ng/share/src/sy
> > slog-ng-1.5.6/src'
Index: nscache.c
===================================================================
RCS file: /var/cvs/syslog-ng/src/nscache.c,v
retrieving revision 1.3
diff -u -r1.3 nscache.c
--- nscache.c 2001/04/14 08:02:17 1.3
+++ nscache.c 2001/05/11 08:12:23
@@ -109,7 +109,7 @@
}
for (i = 0; i < cache->size; i++) {
- cache->entries[i].addr.s_addr = INADDR_NONE;
+ cache->entries[i].addr.s_addr = 0;
cache->entries[i].name = NULL;
cache->entries[i].expire = 0;
cache->entries[i].used = 0;
--
Bazsi
PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1