summaryrefslogtreecommitdiff
path: root/source3/web
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-05-08 16:59:30 +0000
committerJeremy Allison <jra@samba.org>1998-05-08 16:59:30 +0000
commit9f57f01b144b030274cc5d116b864b3c27f251ef (patch)
tree700d64327adb19152e1d511652a1722bb007c3ca /source3/web
parent5e9cd44fedc388cf83807592327696a66835af47 (diff)
downloadsamba-9f57f01b144b030274cc5d116b864b3c27f251ef.tar.gz
samba-9f57f01b144b030274cc5d116b864b3c27f251ef.tar.bz2
samba-9f57f01b144b030274cc5d116b864b3c27f251ef.zip
clitar.c: #ifdef'ed out all the bits that were giving 'defined but not used'
messages. nttrans.c: More updates. smb.h: Removed stuff that didn't belong in the smb_passwd struct. Persuaded Luke to use a new structure. web/swat.c: Fixed gcc complaints about shadowing global 'string'. Jeremy. (This used to be commit 61c1dbb9785ed1e6fe40f93c7cc65024884df6f5)
Diffstat (limited to 'source3/web')
-rw-r--r--source3/web/swat.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source3/web/swat.c b/source3/web/swat.c
index e95ac5abd4..b96c7d0ec7 100644
--- a/source3/web/swat.c
+++ b/source3/web/swat.c
@@ -48,16 +48,16 @@ int i;
return(i);
}
-static char *fix_backslash(char *string)
+static char *fix_backslash(char *str)
{
static char newstring[1024];
char *p = newstring;
*p = '\0';
- while (*string) {
- if (*string == '\\') {*p++ = '\\';*p++ = '\\';}
- else *p++ = *string;
- ++string;
+ while (*str) {
+ if (*str == '\\') {*p++ = '\\';*p++ = '\\';}
+ else *p++ = *str;
+ ++str;
*p = '\0';
}
return newstring;