1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

"bool ? true : false" is a bit pointless

This commit is contained in:
Volker Lendecke 2010-11-16 16:22:32 +01:00
parent 0a19617c97
commit fd9ea77a71

View File

@ -236,8 +236,7 @@ struct tevent_req *wb_domain_request_send(TALLOC_CTX *mem_ctx,
/* The primary domain has to find the DC name itself */
state->init_req->cmd = WINBINDD_INIT_CONNECTION;
fstrcpy(state->init_req->domain_name, domain->name);
state->init_req->data.init_conn.is_primary =
domain->primary ? true : false;
state->init_req->data.init_conn.is_primary = domain->primary;
fstrcpy(state->init_req->data.init_conn.dcname, "");
subreq = wb_child_request_send(state, ev, &domain->child,