summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2004-05-05 01:13:48 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:51:25 -0500
commit9294acabb403d0309c408f84fee5878100481da4 (patch)
treee1cf475ddef674fd8ab0c93a2316d61ff84e72d8 /source3
parent34facd7e6935749291d64f37ae95b84ded792fb8 (diff)
downloadsamba-9294acabb403d0309c408f84fee5878100481da4.tar.gz
samba-9294acabb403d0309c408f84fee5878100481da4.tar.bz2
samba-9294acabb403d0309c408f84fee5878100481da4.zip
r483: Fix typo of appending '\\' instead of '/' now we're using
check_path_syntax. Jeremy. (This used to be commit 50ce579322ae394cb7c7a27e06f4ff08499b77b3)
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/nttrans.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/nttrans.c b/source3/smbd/nttrans.c
index 7e4cac7b38..e4ddda104e 100644
--- a/source3/smbd/nttrans.c
+++ b/source3/smbd/nttrans.c
@@ -692,7 +692,7 @@ create_options = 0x%x root_dir_fid = 0x%x\n", flags, desired_access, file_attrib
*/
if(fname[dir_name_len-1] != '\\' && fname[dir_name_len-1] != '/') {
- pstrcat(fname, "\\");
+ pstrcat(fname, "/");
dir_name_len++;
}
@@ -1243,7 +1243,7 @@ static int call_nt_transact_create(connection_struct *conn, char *inbuf, char *o
*/
if((fname[dir_name_len-1] != '\\') && (fname[dir_name_len-1] != '/')) {
- pstrcat(fname, "\\");
+ pstrcat(fname, "/");
dir_name_len++;
}