From cb703401b48db9173f60604a1202d3dc227fd11d Mon Sep 17 00:00:00 2001 From: Ted Lemon Date: Mon, 29 Jun 1998 22:46:44 +0000 Subject: [PATCH] Fix typos --- server/dhcp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/server/dhcp.c b/server/dhcp.c index f567420e9..3cbc0212e 100644 --- a/server/dhcp.c +++ b/server/dhcp.c @@ -42,7 +42,7 @@ #ifndef lint static char copyright[] = -"$Id: dhcp.c,v 1.57.2.9 1998/06/29 22:24:34 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998 The Internet Software Consortium. All rights reserved.\n"; +"$Id: dhcp.c,v 1.57.2.10 1998/06/29 22:46:44 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998 The Internet Software Consortium. All rights reserved.\n"; #endif /* not lint */ #include "dhcpd.h" @@ -623,8 +623,8 @@ void ack_lease (packet, lease, offer, when) else if (vendor_class && vendor_class -> group -> filename) strncpy (state -> filename, vendor_class -> group -> filename, sizeof state -> filename); - else if (packet -> raw.file [0]) - strncpy (state -> filename, packet -> raw.file, + else if (packet -> raw -> file [0]) + strncpy (state -> filename, packet -> raw -> file, sizeof state -> filename); else strcpy (state -> filename, ""); -- 2.47.3