1
0
mirror of https://github.com/samba-team/samba.git synced 2025-09-18 09:44:19 +03:00

Some mods for recent coding conventions

This commit is contained in:
Volker Lendecke
2009-07-31 22:42:50 +02:00
parent ac94a8b0e3
commit 62fec96819
2 changed files with 6 additions and 3 deletions

View File

@@ -382,7 +382,8 @@ void winbindd_lookupname_async(TALLOC_CTX *mem_ctx,
struct winbindd_domain *domain; struct winbindd_domain *domain;
struct lookupname_state *s; 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)); DEBUG(5, ("Could not find domain for name '%s'\n", dom_name));
cont(private_data, False, NULL, SID_NAME_UNKNOWN); cont(private_data, False, NULL, SID_NAME_UNKNOWN);
return; return;

View File

@@ -462,8 +462,10 @@ void winbindd_getpwnam(struct winbindd_cli_state *state)
if (domain == NULL) { if (domain == NULL) {
DEBUG(7, ("could not find domain entry for domain %s. " DEBUG(7, ("could not find domain entry for domain %s. "
"Using primary domain\n", domname)); "Using primary domain\n", domname));
if ( (domain = find_our_domain()) == NULL ) { domain = find_our_domain();
DEBUG(0,("Cannot find my primary domain structure!\n")); if (domain == NULL) {
DEBUG(0, ("Cannot find my primary domain "
"structure!\n"));
request_error(state); request_error(state);
return; return;
} }