summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorDeryck Hodge <deryck@samba.org>2005-05-24 17:37:04 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:56:59 -0500
commitefaafdd27b931696afb3f9f53eefe7d559f2c05a (patch)
tree82bcc9980966f671643cf85d606afa1553f36102 /source3
parent572659f22154ef68b687b8c7f399021b5a99ad4c (diff)
downloadsamba-efaafdd27b931696afb3f9f53eefe7d559f2c05a.tar.gz
samba-efaafdd27b931696afb3f9f53eefe7d559f2c05a.tar.bz2
samba-efaafdd27b931696afb3f9f53eefe7d559f2c05a.zip
r6959: Meant to fix this before commiting, just to be consistent.
deryck (This used to be commit 3732705605c757d8647efa2731070025f79ab302)
Diffstat (limited to 'source3')
-rw-r--r--source3/web/swat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/web/swat.c b/source3/web/swat.c
index d7e4e72241..8505f1a685 100644
--- a/source3/web/swat.c
+++ b/source3/web/swat.c
@@ -87,7 +87,7 @@ static char *fix_quotes(const char *str)
while (*str) {
if ( *str == '\"' && (newstring_len - PTR_DIFF(p, newstring) - 1) > quote_len ) {
strncpy( p, "&quot;", quote_len);
- p += 6;
+ p += quote_len;
} else {
*p++ = *str;
}