From 62fec968193e8a96ccffef216aba30ffb681d33a Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Fri, 31 Jul 2009 22:42:50 +0200 Subject: Some mods for recent coding conventions --- source3/winbindd/winbindd_user.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'source3/winbindd/winbindd_user.c') diff --git a/source3/winbindd/winbindd_user.c b/source3/winbindd/winbindd_user.c index 2d59942e17..0967afcf5c 100644 --- a/source3/winbindd/winbindd_user.c +++ b/source3/winbindd/winbindd_user.c @@ -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; } -- cgit