diff options
author | Volker Lendecke <vlendec@samba.org> | 2007-08-16 12:15:52 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:29:51 -0500 |
commit | 93fc3a024820bd4a01565b301d37b0e4106500ac (patch) | |
tree | 6dddfa23019b96ed8a5108ad38e98350fa05f2ef /source3/smbd | |
parent | 72df1ca0d1f2c41f52b28e6f8726065bebeb2842 (diff) | |
download | samba-93fc3a024820bd4a01565b301d37b0e4106500ac.tar.gz samba-93fc3a024820bd4a01565b301d37b0e4106500ac.tar.bz2 samba-93fc3a024820bd4a01565b301d37b0e4106500ac.zip |
r24485: Even in the failure case unix_convert must pass the already converted
part of the string to the caller.
(This used to be commit 301ae3d68bc64c9526eb7d4458584a5ebb151137)
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/filename.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/filename.c b/source3/smbd/filename.c index d5c22e81c3..6ab179a316 100644 --- a/source3/smbd/filename.c +++ b/source3/smbd/filename.c @@ -603,8 +603,8 @@ NTSTATUS unix_convert(connection_struct *conn, done: result = NT_STATUS_OK; - pstrcpy(orig_path, name); fail: + pstrcpy(orig_path, name); SAFE_FREE(name); SAFE_FREE(dirpath); return result; |