mirror of
https://github.com/samba-team/samba.git
synced 2024-12-27 03:21:53 +03:00
Some mods for recent coding conventions
This commit is contained in:
parent
ac94a8b0e3
commit
62fec96819
@ -382,7 +382,8 @@ void winbindd_lookupname_async(TALLOC_CTX *mem_ctx,
|
||||
struct winbindd_domain *domain;
|
||||
struct lookupname_state *s;
|
||||
|
||||
if ( (domain = find_lookup_domain_from_name(dom_name)) == NULL ) {
|
||||
domain = find_lookup_domain_from_name(dom_name);
|
||||
if (domain == NULL) {
|
||||
DEBUG(5, ("Could not find domain for name '%s'\n", dom_name));
|
||||
cont(private_data, False, NULL, SID_NAME_UNKNOWN);
|
||||
return;
|
||||
|
@ -462,8 +462,10 @@ void winbindd_getpwnam(struct winbindd_cli_state *state)
|
||||
if (domain == NULL) {
|
||||
DEBUG(7, ("could not find domain entry for domain %s. "
|
||||
"Using primary domain\n", domname));
|
||||
if ( (domain = find_our_domain()) == NULL ) {
|
||||
DEBUG(0,("Cannot find my primary domain structure!\n"));
|
||||
domain = find_our_domain();
|
||||
if (domain == NULL) {
|
||||
DEBUG(0, ("Cannot find my primary domain "
|
||||
"structure!\n"));
|
||||
request_error(state);
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user