summaryrefslogtreecommitdiffstats
path: root/perl-install/printer/detect.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-01-07 17:05:52 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-01-07 17:05:52 +0000
commit70b22c4bbb23fff2c8457ffcfdd50e20dd7e5aa3 (patch)
tree276a1577b52511b80d17956ecd5faffd9db773a0 /perl-install/printer/detect.pm
parentcac7411476d7cf0b83fc1a48ad233c3c6f130ac3 (diff)
downloaddrakx-backup-do-not-use-70b22c4bbb23fff2c8457ffcfdd50e20dd7e5aa3.tar
drakx-backup-do-not-use-70b22c4bbb23fff2c8457ffcfdd50e20dd7e5aa3.tar.gz
drakx-backup-do-not-use-70b22c4bbb23fff2c8457ffcfdd50e20dd7e5aa3.tar.bz2
drakx-backup-do-not-use-70b22c4bbb23fff2c8457ffcfdd50e20dd7e5aa3.tar.xz
drakx-backup-do-not-use-70b22c4bbb23fff2c8457ffcfdd50e20dd7e5aa3.zip
(detect): don't use net_smb_detect() and net_detect(), call
whatNetPrinter() directly asking for both network & smb (faster)
Diffstat (limited to 'perl-install/printer/detect.pm')
-rw-r--r--perl-install/printer/detect.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/printer/detect.pm b/perl-install/printer/detect.pm
index 65df25c3f..abc6f2bc7 100644
--- a/perl-install/printer/detect.pm
+++ b/perl-install/printer/detect.pm
@@ -18,7 +18,7 @@ sub net_detect { whatNetPrinter(1, 0) }
sub net_smb_detect { whatNetPrinter(0, 1) }
sub detect {
- local_detect(), net_detect(), net_smb_detect();
+ local_detect(), whatNetPrinter(1, 1);
}
sub whatNetPrinter {