summaryrefslogtreecommitdiff
path: root/source3/web
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2001-07-08 14:10:30 +0000
committerAndrew Bartlett <abartlet@samba.org>2001-07-08 14:10:30 +0000
commit5b8d230e39cedda6117cf8528065cbab45bdd835 (patch)
tree1e9be7f0d7c7a092d2675bf41402e074f1d3e0f3 /source3/web
parent04932c05bf9b876aa059195100633e7c56dbce71 (diff)
downloadsamba-5b8d230e39cedda6117cf8528065cbab45bdd835.tar.gz
samba-5b8d230e39cedda6117cf8528065cbab45bdd835.tar.bz2
samba-5b8d230e39cedda6117cf8528065cbab45bdd835.zip
This removes unused paramaters from various authtication functions, and should
not change behaviour. This should make my later diffs smaller, where I actualy start cleaning up this mess... Andrew Bartlett (This used to be commit 04f090c224bb7ac3b53c430a591fce1fc939a81c)
Diffstat (limited to 'source3/web')
-rw-r--r--source3/web/cgi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/web/cgi.c b/source3/web/cgi.c
index af9d2ea8f6..e47514904b 100644
--- a/source3/web/cgi.c
+++ b/source3/web/cgi.c
@@ -407,7 +407,7 @@ static BOOL cgi_handle_authorization(char *line)
tested_pass = True;
- if(pass_check(user, user_pass, strlen(user_pass), NULL, NULL) == True) {
+ if(pass_check(user, user_pass, strlen(user_pass), NULL) == True) {
/*
* Password was ok.
@@ -434,7 +434,7 @@ static BOOL cgi_handle_authorization(char *line)
if (!tested_pass)
pass_check(default_user_lookup, default_user_pass,
- strlen(default_user_pass), NULL, NULL);
+ strlen(default_user_pass), NULL);
cgi_setup_error("401 Bad Authorization", "",
"username or password incorrect");