]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - berkeley/lpc.c
SIGSEGV in CUPS web ui when adding a printer
[thirdparty/cups.git] / berkeley / lpc.c
index b2e2e4130d4fa9f16558561b5579a39a00748378..7ab43ea123528fcb4d90cccf1807bc7be3f30fcf 100644 (file)
@@ -1,16 +1,10 @@
 /*
- * "$Id$"
- *
  * "lpc" command for CUPS.
  *
  * Copyright 2007-2014 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.
  */
 
 /*
@@ -236,8 +230,6 @@ show_status(http_t     *http,               /* I - HTTP connection to server */
                };
 
 
-  DEBUG_printf(("show_status(http=%p, dests=\"%s\")\n", http, dests));
-
   if (http == NULL)
     return;
 
@@ -261,8 +253,6 @@ show_status(http_t     *http,               /* I - HTTP connection to server */
 
   if ((response = cupsDoRequest(http, request, "/")) != NULL)
   {
-    DEBUG_puts("show_status: request succeeded...");
-
    /*
     * Loop through the printers returned in the list and display
     * their status...
@@ -435,8 +425,3 @@ show_status(http_t     *http,               /* I - HTTP connection to server */
     ippDelete(response);
   }
 }
-
-
-/*
- * End of "$Id$".
- */