Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-4]: src/dist/bind/bin/host Pull up revision 1.3 (requested by is):
details: https://anonhg.NetBSD.org/src/rev/9a8811dd9bf3
branches: netbsd-1-4
changeset: 470957:9a8811dd9bf3
user: he <he%NetBSD.org@localhost>
date: Sun Oct 08 16:18:44 2000 +0000
description:
Pull up revision 1.3 (requested by is):
Format string cleanup.
diffstat:
dist/bind/bin/host/host.c | 15 +++++++--------
1 files changed, 7 insertions(+), 8 deletions(-)
diffs (60 lines):
diff -r fc073d41443d -r 9a8811dd9bf3 dist/bind/bin/host/host.c
--- a/dist/bind/bin/host/host.c Sun Oct 08 16:16:57 2000 +0000
+++ b/dist/bind/bin/host/host.c Sun Oct 08 16:18:44 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: host.c,v 1.2.2.2 1999/12/04 16:52:42 he Exp $ */
+/* $NetBSD: host.c,v 1.2.2.3 2000/10/08 16:18:44 he Exp $ */
#ifndef lint
static const char rcsid[] = "Id: host.c,v 8.34 1999/11/11 19:39:10 cyarnell Exp";
@@ -349,7 +349,6 @@
printf ("%s for %s not found, last verified key %s\n",
chase_step & SD_SIG ? "Key" : "Signature",
chase_step & SD_SIG ? chase_signer : chase_domain,
- chase_domain,
chase_lastgoodkey ? chase_lastgoodkey : "None");
}
}
@@ -742,12 +741,12 @@
do
{
stop=(start+width)<length?(start+width):length;
- printf (pref);
+ printf ("%s", pref);
for (i = start; i < stop; i++)
printf ("%02x ", (u_char) field[i]);
printf ("\n");
- printf (pref);
+ printf ("%s", pref);
for (i = start; i < stop; i++)
if (isprint(field[i]))
printf (" %c ", (u_char) field[i]);
@@ -1237,15 +1236,15 @@
/* original ttl */
origttl = cp;
if (doprint && verbose)
- fprintf(file, " %d", ns_get32(cp));
+ fprintf(file, " %lu", ns_get32(cp));
cp += INT32SZ;
/* signature expiration */
if (doprint && verbose)
- fprintf(file, " %d", ns_get32(cp));
+ fprintf(file, " %lu", ns_get32(cp));
cp += INT32SZ;
/* time signed */
if (doprint && verbose)
- fprintf(file, " %d", ns_get32(cp));
+ fprintf(file, " %lu", ns_get32(cp));
cp += INT32SZ;
/* key footprint */
if (doprint && verbose)
@@ -1454,7 +1453,7 @@
u_char cdname[NS_MAXCDNAME];
if (doprint && !verbose)
- fprintf (file, " (chasing signature)", sigchase-1);
+ fprintf (file, " (chasing signature %d)", sigchase-1);
/* unpack rr */
Home |
Main Index |
Thread Index |
Old Index