]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Fix typo in mode handling (was assigning to order instead of mode variable)
authormike <mike@7a7537e8-13f0-0310-91df-b6672ffda945>
Tue, 10 Jul 2007 22:05:56 +0000 (22:05 +0000)
committermike <mike@7a7537e8-13f0-0310-91df-b6672ffda945>
Tue, 10 Jul 2007 22:05:56 +0000 (22:05 +0000)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6643 7a7537e8-13f0-0310-91df-b6672ffda945

backend/lpd.c

index 29b2de545450df985899c6802faae627a1276c79..03415098fe3c096e24de90d77d3c3126b1bc7212 100644 (file)
@@ -341,9 +341,9 @@ main(int  argc,                             /* I - Number of command-line arguments (6 or 7) */
        */
 
         if (!strcasecmp(value, "standard"))
-         order = MODE_STANDARD;
+         mode = MODE_STANDARD;
        else if (!strcasecmp(value, "stream"))
-         order = MODE_STREAM;
+         mode = MODE_STREAM;
        else
          fprintf(stderr, _("ERROR: Unknown print mode \"%s\"\n"), value);
       }