From efa384375f61049d7e7c43a77dc8abe0e034e04d Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Mon, 1 Oct 2007 22:13:02 +0000 Subject: r25454: Use standard bool types in a couple more places. (This used to be commit 9243b551f30c7aa2763115516a6adcfe5bbddc58) --- source4/winbind/wb_irpc.c | 2 +- source4/winbind/wb_server.c | 4 ++-- source4/winbind/wb_utils.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'source4/winbind') diff --git a/source4/winbind/wb_irpc.c b/source4/winbind/wb_irpc.c index 59399a9aef..5d7f7fd7a6 100644 --- a/source4/winbind/wb_irpc.c +++ b/source4/winbind/wb_irpc.c @@ -54,7 +54,7 @@ static NTSTATUS wb_irpc_SamLogon(struct irpc_message *msg, ctx->async.fn = wb_irpc_SamLogon_callback; ctx->async.private_data = s; - msg->defer_reply = True; + msg->defer_reply = true; return NT_STATUS_OK; } diff --git a/source4/winbind/wb_server.c b/source4/winbind/wb_server.c index 3e27f31429..6d002902d3 100644 --- a/source4/winbind/wb_server.c +++ b/source4/winbind/wb_server.c @@ -155,7 +155,7 @@ static void winbind_task_init(struct task_server *task) WINBINDD_SAMBA3_SOCKET); if (!listen_socket->socket_path) goto nomem; listen_socket->service = service; - listen_socket->privileged = False; + listen_socket->privileged = false; status = stream_setup_socket(task->event_ctx, model_ops, &wbsrv_ops, "unix", listen_socket->socket_path, &port, @@ -170,7 +170,7 @@ static void winbind_task_init(struct task_server *task) WINBINDD_SAMBA3_PRIVILEGED_SOCKET); if (!listen_socket->socket_path) goto nomem; listen_socket->service = service; - listen_socket->privileged = True; + listen_socket->privileged = true; status = stream_setup_socket(task->event_ctx, model_ops, &wbsrv_ops, "unix", listen_socket->socket_path, &port, diff --git a/source4/winbind/wb_utils.c b/source4/winbind/wb_utils.c index 5fb14c1b4c..dfd09a98fe 100644 --- a/source4/winbind/wb_utils.c +++ b/source4/winbind/wb_utils.c @@ -27,7 +27,7 @@ * as one string. * TODO: We probably will need to handle other formats later. */ -BOOL wb_samba3_split_username(TALLOC_CTX *mem_ctx, const char *domuser, +bool wb_samba3_split_username(TALLOC_CTX *mem_ctx, const char *domuser, char **domain, char **user) { char *p = strchr(domuser, *lp_winbind_separator(global_loadparm)); -- cgit