From 352a1a4fe4f0383052ccc477bd9492e07f396c0d Mon Sep 17 00:00:00 2001 From: Pablo Saratxaga Date: Thu, 2 Oct 2003 19:11:30 +0000 Subject: fixed parameters for LPD printer information line --- perl-install/printer/main.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'perl-install') 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); -- cgit v1.2.1