summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2002-07-27 04:56:06 +0000
committerGerald Carter <jerry@samba.org>2002-07-27 04:56:06 +0000
commit637fe80a0b3f0f40d54238d8dfe5c08076c8ce59 (patch)
tree4473cf206106044379ea30627a60039690a0e69a /examples
parenta637458ff33925dee6016647e39b8ec92ccdfb6f (diff)
downloadsamba-637fe80a0b3f0f40d54238d8dfe5c08076c8ce59.tar.gz
samba-637fe80a0b3f0f40d54238d8dfe5c08076c8ce59.tar.xz
samba-637fe80a0b3f0f40d54238d8dfe5c08076c8ce59.zip
merging for 2.2.6pre1
Diffstat (limited to 'examples')
-rw-r--r--examples/VFS/recycle/recycle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/VFS/recycle/recycle.c b/examples/VFS/recycle/recycle.c
index 3d2d5d79697..4e7b6c7bcf3 100644
--- a/examples/VFS/recycle/recycle.c
+++ b/examples/VFS/recycle/recycle.c
@@ -154,7 +154,7 @@ static BOOL do_parameter(char *pszParmName, char *pszParmValue)
if (current->recycle_bin == NULL)
return False;
current->recycle_bin = safe_strcpy(current->recycle_bin,pszParmValue,sizeof(pstring));
- standard_sub_basic(current->recycle_bin);
+ standard_sub_basic(current->recycle_bin, strlen(current->recycle_bin));
trim_string(current->recycle_bin,"/","/");
DEBUG(10, ("name=%s\n", current->recycle_bin));
} else if (StrCaseCmp("mode",pszParmName)==0) {