summaryrefslogtreecommitdiff
path: root/source4/nbt_server/wins/winswack.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-10-06 21:33:16 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 15:07:52 -0500
commitcac2379a2fc570308f24142959fabe5ae4462aff (patch)
treed3b089e3b3527e9208c639a00b8208caeba6d2ed /source4/nbt_server/wins/winswack.c
parent6bc52259aa668666f2f40abfd8da181d5aaf8b6e (diff)
downloadsamba-cac2379a2fc570308f24142959fabe5ae4462aff.tar.gz
samba-cac2379a2fc570308f24142959fabe5ae4462aff.tar.bz2
samba-cac2379a2fc570308f24142959fabe5ae4462aff.zip
r25546: Convert to standard bool type.
(This used to be commit ac83dbf199fd442fc994d43a6e5e9fda8d4c88b6)
Diffstat (limited to 'source4/nbt_server/wins/winswack.c')
-rw-r--r--source4/nbt_server/wins/winswack.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/source4/nbt_server/wins/winswack.c b/source4/nbt_server/wins/winswack.c
index a2b479673a..304edcf8de 100644
--- a/source4/nbt_server/wins/winswack.c
+++ b/source4/nbt_server/wins/winswack.c
@@ -48,7 +48,7 @@ static void wins_challenge_handler(struct nbt_name_request *req)
state->query.in.dest_addr = state->io->in.addresses[state->current_address];
- iface = nbtd_find_request_iface(state->io->in.nbtd_server, state->query.in.dest_addr, True);
+ iface = nbtd_find_request_iface(state->io->in.nbtd_server, state->query.in.dest_addr, true);
if (!iface) {
composite_error(ctx, NT_STATUS_INTERNAL_ERROR);
return;
@@ -104,13 +104,13 @@ struct composite_context *wins_challenge_send(TALLOC_CTX *mem_ctx, struct wins_c
/* setup a name query to the first address */
state->query.in.name = *state->io->in.name;
state->query.in.dest_addr = state->io->in.addresses[state->current_address];
- state->query.in.broadcast = False;
- state->query.in.wins_lookup = True;
+ state->query.in.broadcast = false;
+ state->query.in.wins_lookup = true;
state->query.in.timeout = 1;
state->query.in.retries = 2;
ZERO_STRUCT(state->query.out);
- iface = nbtd_find_request_iface(state->io->in.nbtd_server, state->query.in.dest_addr, True);
+ iface = nbtd_find_request_iface(state->io->in.nbtd_server, state->query.in.dest_addr, true);
if (!iface) {
goto failed;
}
@@ -164,7 +164,7 @@ static void wins_release_demand_handler(struct nbt_name_request *req)
state->release.in.timeout = (state->addresses_left > 1 ? 2 : 1);
state->release.in.retries = (state->addresses_left > 1 ? 0 : 2);
- iface = nbtd_find_request_iface(state->io->in.nbtd_server, state->release.in.dest_addr, True);
+ iface = nbtd_find_request_iface(state->io->in.nbtd_server, state->release.in.dest_addr, true);
if (!iface) {
composite_error(ctx, NT_STATUS_INTERNAL_ERROR);
return;
@@ -220,12 +220,12 @@ static struct composite_context *wins_release_demand_send(TALLOC_CTX *mem_ctx, s
state->release.in.name = *state->io->in.name;
state->release.in.dest_addr = state->io->in.addresses[state->current_address];
state->release.in.address = state->release.in.dest_addr;
- state->release.in.broadcast = False;
+ state->release.in.broadcast = false;
state->release.in.timeout = (state->addresses_left > 1 ? 2 : 1);
state->release.in.retries = (state->addresses_left > 1 ? 0 : 2);
ZERO_STRUCT(state->release.out);
- iface = nbtd_find_request_iface(state->io->in.nbtd_server, state->release.in.dest_addr, True);
+ iface = nbtd_find_request_iface(state->io->in.nbtd_server, state->release.in.dest_addr, true);
if (!iface) {
goto failed;
}
@@ -316,7 +316,7 @@ NTSTATUS nbtd_proxy_wins_challenge(struct irpc_message *msg,
s->c_req->async.fn = proxy_wins_challenge_handler;
s->c_req->async.private_data = s;
- msg->defer_reply = True;
+ msg->defer_reply = true;
return NT_STATUS_OK;
}
@@ -375,6 +375,6 @@ NTSTATUS nbtd_proxy_wins_release_demand(struct irpc_message *msg,
s->c_req->async.fn = proxy_wins_release_demand_handler;
s->c_req->async.private_data = s;
- msg->defer_reply = True;
+ msg->defer_reply = true;
return NT_STATUS_OK;
}