From efaafdd27b931696afb3f9f53eefe7d559f2c05a Mon Sep 17 00:00:00 2001 From: Deryck Hodge Date: Tue, 24 May 2005 17:37:04 +0000 Subject: r6959: Meant to fix this before commiting, just to be consistent. deryck (This used to be commit 3732705605c757d8647efa2731070025f79ab302) --- source3/web/swat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') 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, """, quote_len); - p += 6; + p += quote_len; } else { *p++ = *str; } -- cgit