summaryrefslogtreecommitdiff
path: root/source3/web
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2004-02-08 11:59:55 +0000
committerAndrew Bartlett <abartlet@samba.org>2004-02-08 11:59:55 +0000
commit9b586b5a645c27d48d3cf8eb788e297ba83114d6 (patch)
tree7fff83e3eba138fe392a41ed9b6bb0f5348c8643 /source3/web
parentf7c1c68e19c00c3b107d4fd08401ed8aeb09bbaa (diff)
downloadsamba-9b586b5a645c27d48d3cf8eb788e297ba83114d6.tar.gz
samba-9b586b5a645c27d48d3cf8eb788e297ba83114d6.tar.bz2
samba-9b586b5a645c27d48d3cf8eb788e297ba83114d6.zip
(merge from 3.0)
Make more functions static, and remove duplication in the use of functions in lib/smbpasswd.c that were exact duplicates of functions in passdb/passdb.c (These should perhaps be pulled back out to smbpasswd.c, but that can occour later). This also includes some >14 character password changes, and the start of a move away from using 'admin user' to determine if the user is root (as root can login without setting 'admin user'). Andrew Bartlett (This used to be commit be0704abb919152c359a735023283acbf9be3076)
Diffstat (limited to 'source3/web')
-rw-r--r--source3/web/cgi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/web/cgi.c b/source3/web/cgi.c
index 8a103fa57f..aac009893c 100644
--- a/source3/web/cgi.c
+++ b/source3/web/cgi.c
@@ -91,7 +91,7 @@ static char *grab_line(FILE *f, int *cl)
(This was in rfc1738_unescape(), but that broke the squid helper)
**/
-void plus_to_space_unescape(char *buf)
+static void plus_to_space_unescape(char *buf)
{
char *p=buf;