summaryrefslogtreecommitdiff
path: root/source3/web
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-09-25 20:21:21 +0000
committerJeremy Allison <jra@samba.org>2001-09-25 20:21:21 +0000
commit6ddcd8a3bcef32694d9d753ff91cced71f5ca3a8 (patch)
tree45eca65d1dc6bc3534e1178a35cbeff6955a8295 /source3/web
parentc1af3aabcf35e7d5d3bb82e9d0c7d2f15f6d5f26 (diff)
downloadsamba-6ddcd8a3bcef32694d9d753ff91cced71f5ca3a8.tar.gz
samba-6ddcd8a3bcef32694d9d753ff91cced71f5ca3a8.tar.bz2
samba-6ddcd8a3bcef32694d9d753ff91cced71f5ca3a8.zip
Fixup passdb stuff to add new nisplus and ldap backends.
Jeremy. (This used to be commit 611bf806d569b70edabbc04a2f5408142370a550)
Diffstat (limited to 'source3/web')
-rw-r--r--source3/web/cgi.c2
-rw-r--r--source3/web/swat.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/source3/web/cgi.c b/source3/web/cgi.c
index d2b30c49e9..caba28396f 100644
--- a/source3/web/cgi.c
+++ b/source3/web/cgi.c
@@ -448,7 +448,9 @@ static void cgi_download(char *file)
char buf[1024];
int fd, l, i;
char *p;
+#if I18N_SWAT
int nLangDesc;
+#endif
/* sanitise the filename */
for (i=0;file[i];i++) {
diff --git a/source3/web/swat.c b/source3/web/swat.c
index 664780995e..a6286dc93b 100644
--- a/source3/web/swat.c
+++ b/source3/web/swat.c
@@ -196,7 +196,6 @@ static void show_parameter(int snum, struct parm_struct *parm)
{
int i;
void *ptr = parm->ptr;
- char* str;
if (parm->class == P_LOCAL && snum >= 0) {
ptr = lp_local_ptr(snum, ptr);