summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2004-07-11 11:33:25 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:52:11 -0500
commit4499082b83515bb15f3ecf6ca4568ab1729c73b7 (patch)
treebefa9fb9c4e2544b4e53285db87c371737df9bcb
parentf0f87cf7faecb9899a6a04da72e13ed6c408d01b (diff)
downloadsamba-4499082b83515bb15f3ecf6ca4568ab1729c73b7.tar.gz
samba-4499082b83515bb15f3ecf6ca4568ab1729c73b7.tar.bz2
samba-4499082b83515bb15f3ecf6ca4568ab1729c73b7.zip
r1444: Another attempt to fulfil the 100% promise. There might be two dots at the
end... Volker (This used to be commit 65518960e54f98e750c7e044004ce72a7503760b)
-rw-r--r--source3/torture/mangle_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/torture/mangle_test.c b/source3/torture/mangle_test.c
index 174c7128be..5acad2d015 100644
--- a/source3/torture/mangle_test.c
+++ b/source3/torture/mangle_test.c
@@ -153,7 +153,7 @@ static void gen_name(char *name)
/* ..... and a 100% proability of a file not ending in "." */
if (p[strlen(p)-1] == '.')
- p[strlen(p)-1] = '\0';
+ p[strlen(p)-1] = '_';
}