]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - backend/ipp.c
Merge changes from 1.4svn-r7067.
[thirdparty/cups.git] / backend / ipp.c
index 3dc0991fe0b1149cbcb2cd5358703934005be121..95e598252a67e8b2a4b3a66f8842ddae96eff1be 100644 (file)
@@ -236,6 +236,9 @@ main(int  argc,                             /* I - Number of command-line args */
     return (CUPS_BACKEND_STOP);
   }
 
+  if (!port)
+    port = IPP_PORT;                   /* Default to port 631 */
+
   if (!strcmp(method, "https"))
     cupsSetEncryption(HTTP_ENCRYPT_ALWAYS);
   else