summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2002-01-04 22:30:00 +0000
committerJeremy Allison <jra@samba.org>2002-01-04 22:30:00 +0000
commite86102e86804ec07d8dd704dac963b8b72cd0250 (patch)
tree9a6119da5aecb4a703a5f7895147b970606fa9ec /source3
parenteb61d92ca7053bef9142a29f296aae695c47db33 (diff)
downloadsamba-e86102e86804ec07d8dd704dac963b8b72cd0250.tar.gz
samba-e86102e86804ec07d8dd704dac963b8b72cd0250.tar.bz2
samba-e86102e86804ec07d8dd704dac963b8b72cd0250.zip
Missed error return is can_rename fails.
Jeremy. (This used to be commit 2db99fa49b538e230f2c606d1004871111ea2bf6)
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/reply.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c
index 9e6f8d24c2..c67ce357c6 100644
--- a/source3/smbd/reply.c
+++ b/source3/smbd/reply.c
@@ -3130,6 +3130,7 @@ directory = %s, newname = %s, newname_last_component = %s, is_8_3 = %d\n",
if (!NT_STATUS_IS_OK(error)) {
DEBUG(3,("rename_internals: Error %s rename %s -> %s\n",
get_nt_error_msg(error), directory,newname));
+ return error;
}
/*