From e2e4a76e0868ae5943b5d3839509e60abf429d6f Mon Sep 17 00:00:00 2001 From: Ted Lemon Date: Thu, 3 Feb 2000 04:43:36 +0000 Subject: [PATCH] Don't forget that pesky ampersand. --- common/print.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/print.c b/common/print.c index 9d4ddbdb..1bd5777f 100644 --- a/common/print.c +++ b/common/print.c @@ -22,7 +22,7 @@ #ifndef lint static char copyright[] = -"$Id: print.c,v 1.37 2000/02/03 04:38:08 mellon Exp $ Copyright (c) 1995, 1996, 1998, 1999 The Internet Software Consortium. All rights reserved.\n"; +"$Id: print.c,v 1.38 2000/02/03 04:43:36 mellon Exp $ Copyright (c) 1995, 1996, 1998, 1999 The Internet Software Consortium. All rights reserved.\n"; #endif /* not lint */ #include "dhcpd.h" @@ -933,7 +933,7 @@ void print_dns_status (int status, ns_updque *uq) s += strlen (s); } } else { - if (s != obuf [0] && s + 1 < end) + if (s != &obuf [0] && s + 1 < end) *s++ = ' '; if (s + strlen (predicate) < end) { strcpy (s, predicate);