]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - scheduler/client.c
Mirror 1.1.x changes.
[thirdparty/cups.git] / scheduler / client.c
index 00a8625931081e0d24c0e17a7f4a3164df9ffbd0..6fafaccc1ff7fda909693f28facd1424c30e1e0c 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * "$Id: client.c,v 1.91.2.95 2004/09/12 18:50:10 mike Exp $"
+ * "$Id: client.c,v 1.91.2.96 2004/10/04 19:48:56 mike Exp $"
  *
  *   Client routines for the Common UNIX Printing System (CUPS) scheduler.
  *
@@ -15,7 +15,7 @@
  *       Attn: CUPS Licensing Information
  *       Easy Software Products
  *       44141 Airport View Drive, Suite 204
- *       Hollywood, Maryland 20636-3142 USA
+ *       Hollywood, Maryland 20636 USA
  *
  *       Voice: (301) 373-9600
  *       EMail: cups-info@cups.org
@@ -3238,7 +3238,7 @@ pipe_command(client_t *con,               /* I - Client connection */
   * Create a pipe for the output...
   */
 
-  if (cupsdPipe(fds))
+  if (cupsdOpenPipe(fds))
   {
     ClearString(&query_string);
 
@@ -3350,8 +3350,7 @@ pipe_command(client_t *con,               /* I - Client connection */
     LogMessage(L_ERROR, "Unable to fork for CGI %s - %s", argv[0],
                strerror(errno));
 
-    close(fds[0]);
-    close(fds[1]);
+    cupsdClosePipe(fds);
     pid = 0;
   }
   else
@@ -3425,5 +3424,5 @@ CDSAWriteFunc(SSLConnectionRef connection,        /* I  - SSL/TLS connection */
 
 
 /*
- * End of "$Id: client.c,v 1.91.2.95 2004/09/12 18:50:10 mike Exp $".
+ * End of "$Id: client.c,v 1.91.2.96 2004/10/04 19:48:56 mike Exp $".
  */