summaryrefslogtreecommitdiffstats
path: root/source/web/cgi.c
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
commit04f090c224bb7ac3b53c430a591fce1fc939a81c (patch)
tree73aeb3f10bb77bbdb3a0bae8e035a205b06e160f /source/web/cgi.c
parentebd2f9b07c89cce505e821f1caaa6817bbb26db9 (diff)
downloadsamba-04f090c224bb7ac3b53c430a591fce1fc939a81c.tar.gz
samba-04f090c224bb7ac3b53c430a591fce1fc939a81c.tar.xz
samba-04f090c224bb7ac3b53c430a591fce1fc939a81c.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
Diffstat (limited to 'source/web/cgi.c')
-rw-r--r--source/web/cgi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/web/cgi.c b/source/web/cgi.c
index af9d2ea8f6d..e47514904b4 100644
--- a/source/web/cgi.c
+++ b/source/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");