]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Don't forget that pesky ampersand.
authorTed Lemon <source@isc.org>
Thu, 3 Feb 2000 04:43:36 +0000 (04:43 +0000)
committerTed Lemon <source@isc.org>
Thu, 3 Feb 2000 04:43:36 +0000 (04:43 +0000)
common/print.c

index 9d4ddbdbe95f316e09c79fa54bb4bc1202ec4ea5..1bd5777fd038ac55b991dd6bb646dd52e74667e6 100644 (file)
@@ -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);