/*
- * "$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.
*
* 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
* Create a pipe for the output...
*/
- if (cupsdPipe(fds))
+ if (cupsdOpenPipe(fds))
{
ClearString(&query_string);
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
/*
- * 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 $".
*/