projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f519fa
)
Don't bother checking format of the password file, because it might
author
Jamie Cameron
<jcameron@webmin.com>
Wed, 13 Apr 2011 04:45:11 +0000
(21:45 -0700)
committer
Jamie Cameron
<jcameron@webmin.com>
Wed, 13 Apr 2011 04:45:11 +0000
(21:45 -0700)
start with a comment.
https://sourceforge.net/tracker/?func=detail&atid=117457&aid=
3285612
&group_id=17457
squid/index.cgi
patch
|
blob
|
history
diff --git
a/squid/index.cgi
b/squid/index.cgi
index
edd5d8d
..
0fbc04d
100755
(executable)
--- a/
squid/index.cgi
+++ b/
squid/index.cgi
@@
-92,14
+92,7
@@
if ($squid_version < 2) {
}
else {
local $file = &get_auth_file($conf);
- if ($file) {
- open(AUTH, $file);
- local $line = <AUTH>;
- close(AUTH);
- if (!$line || $line =~ /^(\S+):(\S+)/) {
- $auth = 2;
- }
- }
+ $auth = 2 if ($file);
}
$calamaris = &has_command($config{'calamaris'});
$delay = $squid_version >= 2.3;