git.samba.org
/
tprouty
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use VFS operations for file I/O.
[tprouty/samba.git]
/
source
/
smbd
/
ipc.c
diff --git
a/source/smbd/ipc.c
b/source/smbd/ipc.c
index 5001b16b352be4dbbcf1d0f730ef9ef8074a5ae2..cdbb4416af998a9ab331bd066629b3cd5671fbb7 100644
(file)
--- a/
source/smbd/ipc.c
+++ b/
source/smbd/ipc.c
@@
-2005,7
+2005,7
@@
static BOOL api_PrintJobInfo(connection_struct *conn,uint16 vuid,char *param,cha
!become_service(fconn,True))
break;
!become_service(fconn,True))
break;
- if (
dos_rename(fsp->fsp_name
,name) == 0) {
+ if (
conn->vfs_ops.rename(dos_to_unix(fsp->fsp_name,False)
,name) == 0) {
string_set(&fsp->fsp_name,name);
}
break;
string_set(&fsp->fsp_name,name);
}
break;