summaryrefslogtreecommitdiff
path: root/source/smbd/reply.c
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
commit2db99fa49b538e230f2c606d1004871111ea2bf6 (patch)
tree5a3a3793d8148733413e71fcee6c7c616c962878 /source/smbd/reply.c
parente6b27f3d8069ae304baaebe09341c58d46b05fe4 (diff)
downloadsamba-2db99fa49b538e230f2c606d1004871111ea2bf6.tar.gz
Missed error return is can_rename fails.
Jeremy.
Diffstat (limited to 'source/smbd/reply.c')
-rw-r--r--source/smbd/reply.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/smbd/reply.c b/source/smbd/reply.c
index 9e6f8d24c21..c67ce357c65 100644
--- a/source/smbd/reply.c
+++ b/source/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;
}
/*