From 70b22c4bbb23fff2c8457ffcfdd50e20dd7e5aa3 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 7 Jan 2003 17:05:52 +0000 Subject: (detect): don't use net_smb_detect() and net_detect(), call whatNetPrinter() directly asking for both network & smb (faster) --- perl-install/printer/detect.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install') 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 { -- cgit v1.2.1