summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/rpc_client/cli_spoolss_notify.c2
-rw-r--r--source3/rpc_client/cli_trust.c2
-rw-r--r--source3/smbd/password.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/source3/rpc_client/cli_spoolss_notify.c b/source3/rpc_client/cli_spoolss_notify.c
index a67b56adc5..8aba2a3242 100644
--- a/source3/rpc_client/cli_spoolss_notify.c
+++ b/source3/rpc_client/cli_spoolss_notify.c
@@ -47,7 +47,7 @@ BOOL spoolss_disconnect_from_client( struct cli_state *cli)
BOOL spoolss_connect_to_client( struct cli_state *cli, char *remote_machine)
{
ZERO_STRUCTP(cli);
- if(cli_initialise(cli) == False) {
+ if(cli_initialise(cli) == NULL) {
DEBUG(0,("connect_to_client: unable to initialize client connection.\n"));
return False;
}
diff --git a/source3/rpc_client/cli_trust.c b/source3/rpc_client/cli_trust.c
index 49cd1b1723..440cc5143a 100644
--- a/source3/rpc_client/cli_trust.c
+++ b/source3/rpc_client/cli_trust.c
@@ -37,7 +37,7 @@ static BOOL modify_trust_password( char *domain, char *remote_machine,
struct cli_state cli;
ZERO_STRUCT(cli);
- if(cli_initialise(&cli) == False) {
+ if(cli_initialise(&cli) == NULL) {
DEBUG(0,("modify_trust_password: unable to initialize client connection.\n"));
return False;
}
diff --git a/source3/smbd/password.c b/source3/smbd/password.c
index 51528be2b4..d2059e7e20 100644
--- a/source3/smbd/password.c
+++ b/source3/smbd/password.c
@@ -1267,7 +1267,7 @@ static BOOL connect_to_domain_password_server(struct cli_state *pcli,
struct in_addr dest_ip;
fstring remote_machine;
- if(cli_initialise(pcli) == False) {
+ if(cli_initialise(pcli) == NULL) {
DEBUG(0,("connect_to_domain_password_server: unable to initialize client connection.\n"));
return False;
}