]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - systemv/cupsaccept.c
License change: Apache License, Version 2.0.
[thirdparty/cups.git] / systemv / cupsaccept.c
index 27f379df3fddc1be0bccf71d3407ec5b18627b27..7d597b386dba1688f09aab69253610c5bba37021 100644 (file)
@@ -2,14 +2,10 @@
  * "cupsaccept", "cupsdisable", "cupsenable", and "cupsreject" commands for
  * CUPS.
  *
- * Copyright 2007-2016 by Apple Inc.
+ * Copyright 2007-2017 by Apple Inc.
  * Copyright 1997-2006 by Easy Software Products.
  *
- * These coded instructions, statements, and computer programs are the
- * property of Apple Inc. and are protected by Federal copyright
- * law.  Distribution and use rights are outlined in the file "LICENSE.txt"
- * which should have been included with this file.  If this file is
- * file is missing or damaged, see the license at "http://www.cups.org/".
+ * Licensed under Apache License v2.0.  See the file "LICENSE" for more information.
  */
 
 /*
@@ -83,11 +79,11 @@ main(int  argc,                             /* I - Number of command-line arguments */
        switch (*opt)
        {
          case 'E' : /* Encrypt */
-  #ifdef HAVE_SSL
+#ifdef HAVE_SSL
              cupsSetEncryption(HTTP_ENCRYPT_REQUIRED);
-  #else
+#else
              _cupsLangPrintf(stderr, _("%s: Sorry, no encryption support."), command);
-  #endif /* HAVE_SSL */
+#endif /* HAVE_SSL */
              break;
 
          case 'U' : /* Username */
@@ -108,7 +104,7 @@ main(int  argc,                             /* I - Number of command-line arguments */
                cupsSetUser(argv[i]);
              }
              break;
-             
+
          case 'c' : /* Cancel jobs */
              cancel = 1;
              break;