]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - scheduler/cups-lpd.c
Documentation updates.
[thirdparty/cups.git] / scheduler / cups-lpd.c
index 9df6bd0bd659048627a63e912f4ca2b3c419a7e6..798ee0588e0159354609c1b884e22a6287a8464c 100644 (file)
@@ -230,8 +230,10 @@ main(int  argc,                            /* I - Number of command-line arguments */
   * resource list, and/or user name.
   */
 
-  command = line[0];
-  dest    = line + 1;
+  if ((command = line[0]) == '\0')
+    dest = line;
+  else
+    dest = line + 1;
 
   if (command == 0x02)
     list = NULL;