summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/smbd/trans2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c
index dc85969280..cb7e55c83f 100644
--- a/source3/smbd/trans2.c
+++ b/source3/smbd/trans2.c
@@ -4845,7 +4845,7 @@ static int call_trans2mkdir(connection_struct *conn, char *inbuf, char *outbuf,
}
/* Try and set any given EA. */
- if (total_data) {
+ if (ea_list) {
status = set_ea(conn, NULL, directory, ea_list);
talloc_destroy(ctx);
if (!NT_STATUS_IS_OK(status)) {