s3:winbindd: Fix a brown paper bag bug in wbinfo -t ...
authorVolker Lendecke <vl@samba.org>
Mon, 21 Dec 2009 21:34:55 +0000 (22:34 +0100)
committerVolker Lendecke <vl@samba.org>
Mon, 21 Dec 2009 21:36:15 +0000 (22:36 +0100)
source3/winbindd/winbindd_check_machine_acct.c

index 610e9edfaaca30f72c2bdfc343f267892ee26070..33b6d9fba413dcf0b63819b65b150d6d350c5828 100644 (file)
@@ -42,7 +42,7 @@ struct tevent_req *winbindd_check_machine_acct_send(TALLOC_CTX *mem_ctx,
                return NULL;
        }
 
-       if (request->domain_name[0] == '0') {
+       if (request->domain_name[0] == '\0') {
                /* preserve old behavior, when no domain name is given */
                domain = find_our_domain();
        } else {