[cups.general] [patch] IPP_PORT setting
Tim Waugh
twaugh at redhat.com
Tue Aug 10 03:38:31 PDT 2004
Here is a small patch to prevent the IPP backend from using the port
that the scheduler is configured to use. Even when the scheduler is
configured to use a non-standard IPP port, the IPP backend should be
using port 631.
Tim.
*/
--- cups-1.1.21rc1/scheduler/job.c~ 2004-08-05 12:41:58.866939832 -0400
+++ cups-1.1.21rc1/scheduler/job.c 2004-08-05 14:12:35.093507776 -0400
@@ -1706,7 +1706,7 @@
snprintf(tmpdir, sizeof(tmpdir), "TMPDIR=%s", TempDir);
snprintf(datadir, sizeof(datadir), "CUPS_DATADIR=%s", DataDir);
snprintf(fontpath, sizeof(fontpath), "CUPS_FONTPATH=%s", FontPath);
- sprintf(ipp_port, "IPP_PORT=%d", LocalPort);
+ sprintf(ipp_port, "IPP_PORT=%d", ippPort());
envc = 0;
More information about the cups
mailing list