diff options
author | Volker Lendecke <vl@samba.org> | 2009-12-21 22:34:55 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2009-12-21 22:36:15 +0100 |
commit | 2308ec70a53d3990ea98162bcbcc73326ef63687 (patch) | |
tree | 072266fd43c4bae23517c6d9b97e5302ca4cefeb /source3 | |
parent | 74deee3cc9bea2d1bd0c8a7374f8b1dbbbc4b499 (diff) | |
download | samba-2308ec70a53d3990ea98162bcbcc73326ef63687.tar.gz samba-2308ec70a53d3990ea98162bcbcc73326ef63687.tar.bz2 samba-2308ec70a53d3990ea98162bcbcc73326ef63687.zip |
s3:winbindd: Fix a brown paper bag bug in wbinfo -t ...
Diffstat (limited to 'source3')
-rw-r--r-- | source3/winbindd/winbindd_check_machine_acct.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/winbindd/winbindd_check_machine_acct.c b/source3/winbindd/winbindd_check_machine_acct.c index 610e9edfaa..33b6d9fba4 100644 --- a/source3/winbindd/winbindd_check_machine_acct.c +++ b/source3/winbindd/winbindd_check_machine_acct.c @@ -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 { |