]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - backend/lpd.c
Merge changes from 1.4svn-r7067.
[thirdparty/cups.git] / backend / lpd.c
index 53a6539c1f33f2240ef8965a6c40d88f6919d8f8..926033a54188441924b3c85bc47ed8d1d980ec3e 100644 (file)
@@ -201,6 +201,9 @@ main(int  argc,                             /* I - Number of command-line arguments (6 or 7) */
                  hostname, sizeof(hostname), &port,
                  resource, sizeof(resource));
 
+  if (!port)
+    port = 515;                                /* Default to port 515 */
+
   if (!username[0])
   {
    /*