summaryrefslogtreecommitdiffstats
path: root/perl-install/printer/main.pm
diff options
context:
space:
mode:
authorPablo Saratxaga <pablo@mandriva.com>2003-10-02 19:11:30 +0000
committerPablo Saratxaga <pablo@mandriva.com>2003-10-02 19:11:30 +0000
commit352a1a4fe4f0383052ccc477bd9492e07f396c0d (patch)
treef097bdf1ab74fc5d1a6b7361b7c84ae2bbc4e69d /perl-install/printer/main.pm
parenta9d40fb10b72f011ac5d04e878b0040a2e0176ec (diff)
downloaddrakx-backup-do-not-use-352a1a4fe4f0383052ccc477bd9492e07f396c0d.tar
drakx-backup-do-not-use-352a1a4fe4f0383052ccc477bd9492e07f396c0d.tar.gz
drakx-backup-do-not-use-352a1a4fe4f0383052ccc477bd9492e07f396c0d.tar.bz2
drakx-backup-do-not-use-352a1a4fe4f0383052ccc477bd9492e07f396c0d.tar.xz
drakx-backup-do-not-use-352a1a4fe4f0383052ccc477bd9492e07f396c0d.zip
fixed parameters for LPD printer information line
Diffstat (limited to 'perl-install/printer/main.pm')
-rw-r--r--perl-install/printer/main.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/printer/main.pm b/perl-install/printer/main.pm
index 1403c77b0..16e7c0422 100644
--- a/perl-install/printer/main.pm
+++ b/perl-install/printer/main.pm
@@ -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://([^/\@]+)/([^/\@]+)/?$! ||
@@ -419,7 +419,7 @@ sub connectionstr {
$connect =~ m!^ncp://.*/([^/\@]+)/([^/\@]+)/?$! ||
$connect =~ m!^ncp://.*\@([^/\@]+)/([^/\@]+)/?$!) {
$connection = N("Novell server \"%s\", printer \"%s\"", $1, $2);
- } elsif ($connect =~ m!^postpipe:(.+)$!) {
+ n elsif ($connect =~ m!^postpipe:(.+)$!) {
$connection = N("Uses command %s", $1);
} else {
$connection = N("URI: %s", $connect);