Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-3]: src/dist/dhcp/server Pull up revision 1.6 (requested by lukem...
details: https://anonhg.NetBSD.org/src/rev/6570ca716834
branches: netbsd-3
changeset: 576234:6570ca716834
user: snj <snj%NetBSD.org@localhost>
date: Wed Jun 15 05:44:09 2005 +0000
description:
Pull up revision 1.6 (requested by lukem in ticket #414):
Don't attempt to close a random file descriptor.
Detected with gcc -Wuninitialized.
diffstat:
dist/dhcp/server/confpars.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (20 lines):
diff -r 80080ac66eb7 -r 6570ca716834 dist/dhcp/server/confpars.c
--- a/dist/dhcp/server/confpars.c Wed Jun 15 05:41:31 2005 +0000
+++ b/dist/dhcp/server/confpars.c Wed Jun 15 05:44:09 2005 +0000
@@ -43,7 +43,7 @@
#ifndef lint
static char copyright[] =
-"$Id: confpars.c,v 1.5 2003/02/18 17:08:44 drochner Exp $ Copyright (c) 1995-2003 The Internet Software Consortium. All rights reserved.\n";
+"$Id: confpars.c,v 1.5.6.1 2005/06/15 05:44:09 snj Exp $ Copyright (c) 1995-2003 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */
#include "dhcpd.h"
@@ -87,6 +87,7 @@
unsigned tflen, ulen;
trace_type_t *ttype;
+ file = -1;
if (leasep)
ttype = trace_readleases_type;
else
Home |
Main Index |
Thread Index |
Old Index