From: Ted Lemon Date: Thu, 3 Feb 2000 04:43:36 +0000 (+0000) Subject: Don't forget that pesky ampersand. X-Git-Tag: V3-BETA-2-PATCH-1~332 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e2e4a76e0868ae5943b5d3839509e60abf429d6f;p=thirdparty%2Fdhcp.git Don't forget that pesky ampersand. --- diff --git a/common/print.c b/common/print.c index 9d4ddbdbe..1bd5777fd 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);