From 3f225bc3c7f9ca1b6ef0003d589e442f8662b392 Mon Sep 17 00:00:00 2001 From: Keith Bostic Date: Tue, 5 Jan 1988 20:56:49 -0800 Subject: [PATCH 1/1] reverse test for Cc: comparison SCCS-vsn: usr.bin/vacation/vacation.c 5.8 --- usr/src/usr.bin/vacation/vacation.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr/src/usr.bin/vacation/vacation.c b/usr/src/usr.bin/vacation/vacation.c index 4103420031..0e9669379e 100644 --- a/usr/src/usr.bin/vacation/vacation.c +++ b/usr/src/usr.bin/vacation/vacation.c @@ -17,7 +17,7 @@ char copyright[] = #endif /* not lint */ #ifndef lint -static char sccsid[] = "@(#)vacation.c 5.7 (Berkeley) %G%"; +static char sccsid[] = "@(#)vacation.c 5.8 (Berkeley) %G%"; #endif /* not lint */ /* @@ -173,7 +173,7 @@ char **shortp; exit(EX_OK); break; case 'C': /* "Cc:" */ - if (!strncmp(buf, "Cc:", 3)) + if (strncmp(buf, "Cc:", 3)) break; cont = 1; goto findme; -- 2.20.1