=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ypcat/ypcat.c,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- src/usr.bin/ypcat/ypcat.c 1996/05/21 21:32:40 1.4 +++ src/usr.bin/ypcat/ypcat.c 1996/05/24 09:15:39 1.5 @@ -1,4 +1,4 @@ -/* $OpenBSD: ypcat.c,v 1.4 1996/05/21 21:32:40 deraadt Exp $ */ +/* $OpenBSD: ypcat.c,v 1.5 1996/05/24 09:15:39 deraadt Exp $ */ /* * Copyright (c) 1992, 1993, 1996 Theo de Raadt @@ -33,7 +33,7 @@ */ #ifndef LINT -static char rcsid[] = "$OpenBSD: ypcat.c,v 1.4 1996/05/21 21:32:40 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: ypcat.c,v 1.5 1996/05/24 09:15:39 deraadt Exp $"; #endif #include @@ -78,9 +78,9 @@ int invallen; char *indata; { - if(instatus != YP_TRUE) + if (instatus != YP_TRUE) return instatus; - if(key) + if (key) printf("%*.*s ", inkeylen, inkeylen, inkey); printf("%*.*s\n", invallen, invallen, inval); return 0; @@ -99,13 +99,12 @@ int c, r, i; notrans = key = 0; - while( (c=getopt(argc, argv, "xd:kt")) != -1) - switch(c) { + while ((c=getopt(argc, argv, "xd:kt")) != -1) + switch (c) { case 'x': - for(i=0; i