* "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.
*/
/*
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 */
cupsSetUser(argv[i]);
}
break;
-
+
case 'c' : /* Cancel jobs */
cancel = 1;
break;