freebsd-ports/www/webglimpse/files/patch-ai
1998-11-03 08:48:35 +00:00

28 lines
1.0 KiB
Plaintext

--- addsearch.orig Thu Jul 2 03:02:53 1998
+++ addsearch Tue Nov 3 11:36:24 1998
@@ -121,12 +121,12 @@
# Initialize variables to avoid warnings
($title, $archiveurl, $traverse_type, $explicit_only, $numhops,
- $nhhops, $local_limit, $remote_limit, $addboxes, $vhost, $usemaxmem) =
- ('','','','','','','','','','','');
+ $nhhops, $local_limit, $remote_limit, $addboxes, $vhost, $usemaxmem, $locale, $charset) =
+ ('','','','','','','','','','','','','');
($title, $archiveurl, $traverse_type, $explicit_only, $numhops,
- $nhhops, $local_limit, $remote_limit, $addboxes, $vhost, $usemaxmem, @urllist) = ReadConfig($archivepwd);
+ $nhhops, $local_limit, $remote_limit, $addboxes, $vhost, $usemaxmem, $locale, $charset, @urllist) = ReadConfig($archivepwd);
### HUH? What does this code do? Can we remove it?
### here just in case.
@@ -155,7 +155,7 @@
# if we don't have to addboxes, just abort!
if($addboxes==0) {
- print "No search boxes used\n";
+ print "No search boxes used\n" if (!$quiet);
exit(0);
}