mirror of
https://github.com/samba-team/samba.git
synced 2025-11-22 16:23:49 +03:00
implicit function contract explicit. Jeremy.
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
7fc61f5a63
commit
6de5e9ae46
@@ -4826,11 +4826,19 @@ cacl_set(TALLOC_CTX *ctx,
|
||||
CONST_DISCARD(char *, the_acl));
|
||||
|
||||
if (!sd) {
|
||||
errno = EINVAL;
|
||||
return -1;
|
||||
errno = EINVAL;
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
/* SMBC_XATTR_MODE_REMOVE_ALL is the only caller
|
||||
that doesn't deref sd */
|
||||
|
||||
if (!sd && (mode != SMBC_XATTR_MODE_REMOVE_ALL)) {
|
||||
errno = EINVAL;
|
||||
return -1;
|
||||
}
|
||||
|
||||
/* The desired access below is the only one I could find that works
|
||||
with NT4, W2KP and Samba */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user