From 42b6ae9827ff5d6ef0469411de4ee6d70a4b7420 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Tue, 2 Mar 2004 18:49:22 +0000 Subject: more pruning; henning ok --- sbin/dhclient/clparse.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sbin/dhclient/clparse.c') diff --git a/sbin/dhclient/clparse.c b/sbin/dhclient/clparse.c index 4bc419a2dea..751f80f5d29 100644 --- a/sbin/dhclient/clparse.c +++ b/sbin/dhclient/clparse.c @@ -1,4 +1,4 @@ -/* $OpenBSD: clparse.c,v 1.11 2004/03/02 15:41:44 henning Exp $ */ +/* $OpenBSD: clparse.c,v 1.12 2004/03/02 18:49:21 deraadt Exp $ */ /* Parser for dhclient config and lease files... */ @@ -538,7 +538,7 @@ parse_client_lease_statement(FILE *cfile, int is_static) for (lp = ip->client->leases; lp; lp = lp->next) { if (lp->address.len == lease->address.len && !memcmp(lp->address.iabuf, lease->address.iabuf, - lease->address.len)) { + lease->address.len)) { if (pl) pl->next = lp->next; else @@ -838,7 +838,7 @@ bad_flag: goto alloc; default: warn("Bad format %c in parse_option_param.", - *fmt); + *fmt); skip_to_semi(cfile); return (NULL); } -- cgit v1.2.3