diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2003-10-13 19:23:17 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2003-10-13 19:23:17 +0000 |
commit | b64f705ee9928820af105c3dbeeabde172d05640 (patch) | |
tree | 2782226853ee2823b3b6ae9d89dd1305822af3c0 | |
parent | c7be7958fead23785e26642b62665225ecb990db (diff) | |
download | drakx-backup-do-not-use-b64f705ee9928820af105c3dbeeabde172d05640.tar drakx-backup-do-not-use-b64f705ee9928820af105c3dbeeabde172d05640.tar.gz drakx-backup-do-not-use-b64f705ee9928820af105c3dbeeabde172d05640.tar.bz2 drakx-backup-do-not-use-b64f705ee9928820af105c3dbeeabde172d05640.tar.xz drakx-backup-do-not-use-b64f705ee9928820af105c3dbeeabde172d05640.zip |
forward "corrected parameters of LPD info line"
-rw-r--r-- | perl-install/printer/main.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/printer/main.pm b/perl-install/printer/main.pm index 87b5b0c6f..0a3750b95 100644 --- a/perl-install/printer/main.pm +++ b/perl-install/printer/main.pm @@ -357,7 +357,7 @@ sub make_menuentry { } elsif ($connect =~ m!^file:(.+)$!) { $connection = N(", printing to %s", $1); } elsif ($connect =~ m!^lpd://([^/]+)/([^/]+)/?$!) { - $connection = N(" on LPD server \"%s\", printer \"%s\"", $2, $1); + $connection = N(" on LPD server \"%s\", printer \"%s\"", $1, $2); } elsif ($connect =~ m!^socket://([^/:]+):([^/:]+)/?$!) { $connection = N(", TCP/IP host \"%s\", port %s", $1, $2); } elsif ($connect =~ m!^smb://([^/\@]+)/([^/\@]+)/?$! || @@ -408,7 +408,7 @@ sub connectionstr { } elsif ($connect =~ m!^file:(.+)$!) { $connection = N("Prints into %s", $1); } elsif ($connect =~ m!^lpd://([^/]+)/([^/]+)/?$!) { - $connection = N("LPD server \"%s\", printer \"%s\"", $2, $1); + $connection = N("LPD server \"%s\", printer \"%s\"", $1, $2); } elsif ($connect =~ m!^socket://([^/:]+):([^/:]+)/?$!) { $connection = N("TCP/IP host \"%s\", port %s", $1, $2); } elsif ($connect =~ m!^smb://([^/\@]+)/([^/\@]+)/?$! || |