summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-12-21 22:34:55 +0100
committerVolker Lendecke <vl@samba.org>2009-12-21 22:36:15 +0100
commit2308ec70a53d3990ea98162bcbcc73326ef63687 (patch)
tree072266fd43c4bae23517c6d9b97e5302ca4cefeb /source3
parent74deee3cc9bea2d1bd0c8a7374f8b1dbbbc4b499 (diff)
downloadsamba-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.c2
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 {