diff options
author | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2002-03-28 22:05:59 +0000 |
---|---|---|
committer | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2002-03-28 22:05:59 +0000 |
commit | dc372a8aefd4f4fd5a6e8e533705df7bed0cf13c (patch) | |
tree | 12c464f8978426a194b32022e09c22f0d5358dd8 /usr.sbin/ypserv/stdhosts | |
parent | 8b008886610da0fb401af55608ca49e37a5df207 (diff) |
unbreak; deraadt@ ok.
Diffstat (limited to 'usr.sbin/ypserv/stdhosts')
-rw-r--r-- | usr.sbin/ypserv/stdhosts/stdhosts.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/ypserv/stdhosts/stdhosts.c b/usr.sbin/ypserv/stdhosts/stdhosts.c index 41b3c686d0b..5b244e5c0ca 100644 --- a/usr.sbin/ypserv/stdhosts/stdhosts.c +++ b/usr.sbin/ypserv/stdhosts/stdhosts.c @@ -1,4 +1,4 @@ -/* $OpenBSD: stdhosts.c,v 1.6 2002/03/26 02:22:41 ericj Exp $ */ +/* $OpenBSD: stdhosts.c,v 1.7 2002/03/28 22:05:58 fgsch Exp $ */ /* * Copyright (c) 1994 Mats O Jansson <moj@stacken.kth.se> @@ -32,7 +32,7 @@ */ #ifndef LINT -static char rcsid[] = "$OpenBSD: stdhosts.c,v 1.6 2002/03/26 02:22:41 ericj Exp $"; +static char rcsid[] = "$OpenBSD: stdhosts.c,v 1.7 2002/03/28 22:05:58 fgsch Exp $"; #endif #include <sys/types.h> @@ -92,10 +92,10 @@ main(argc, argv) exit(1); } - if (argc == 2) + if (argc == 2) { if ((data_file = fopen(argv[argc-1], "r")) == NULL) err(1, ""); - else + } else data_file = stdin; while (read_line(data_file, data_line, sizeof(data_line))) { |