summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/smbd/reply.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c
index e2b7084f11..41665e1676 100644
--- a/source3/smbd/reply.c
+++ b/source3/smbd/reply.c
@@ -4689,7 +4689,7 @@ NTSTATUS rename_internals(connection_struct *conn,
DEBUG(3,("rename_internals: open_file_ntcreate "
"returned %s rename %s -> %s\n",
nt_errstr(status), directory, newname));
- return status;
+ break;
}
status = rename_internals_fsp(conn, fsp, destname, attrs,
@@ -4701,7 +4701,7 @@ NTSTATUS rename_internals(connection_struct *conn,
DEBUG(3, ("rename_internals_fsp returned %s for "
"rename %s -> %s\n", nt_errstr(status),
directory, newname));
- return status;
+ break;
}
count++;