reverse test for Cc: comparison
authorKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Wed, 6 Jan 1988 04:56:49 +0000 (20:56 -0800)
committerKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Wed, 6 Jan 1988 04:56:49 +0000 (20:56 -0800)
SCCS-vsn: usr.bin/vacation/vacation.c 5.8

usr/src/usr.bin/vacation/vacation.c

index 4103420..0e96693 100644 (file)
@@ -17,7 +17,7 @@ char copyright[] =
 #endif /* not lint */
 
 #ifndef lint
 #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 */
 
 /*
 #endif /* not lint */
 
 /*
@@ -173,7 +173,7 @@ char **shortp;
                                exit(EX_OK);
                        break;
                case 'C':               /* "Cc:" */
                                exit(EX_OK);
                        break;
                case 'C':               /* "Cc:" */
-                       if (!strncmp(buf, "Cc:", 3))
+                       if (strncmp(buf, "Cc:", 3))
                                break;
                        cont = 1;
                        goto findme;
                                break;
                        cont = 1;
                        goto findme;