diff options
author | Volker Lendecke <vl@samba.org> | 2011-12-20 10:25:05 +0100 |
---|---|---|
committer | Volker Lendecke <vlendec@samba.org> | 2011-12-20 13:13:17 +0100 |
commit | 75d3b9ce08c964b9425a1b8a43ccaaa7a3f0aa26 (patch) | |
tree | 7ee5efbbd0777798d86d585a65316b1d23b2608c /source3/libsmb | |
parent | d0ab0a4cee7da9019ef3fc4655de79de3a5716cf (diff) | |
download | samba-75d3b9ce08c964b9425a1b8a43ccaaa7a3f0aa26.tar.gz samba-75d3b9ce08c964b9425a1b8a43ccaaa7a3f0aa26.tar.bz2 samba-75d3b9ce08c964b9425a1b8a43ccaaa7a3f0aa26.zip |
s3: Fix some False/NULL hickups
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Tue Dec 20 13:13:17 CET 2011 on sn-devel-104
Diffstat (limited to 'source3/libsmb')
-rw-r--r-- | source3/libsmb/cliconnect.c | 2 | ||||
-rw-r--r-- | source3/libsmb/samlogon_cache.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/libsmb/cliconnect.c b/source3/libsmb/cliconnect.c index 58fb2e8e03..4f98f5c5e9 100644 --- a/source3/libsmb/cliconnect.c +++ b/source3/libsmb/cliconnect.c @@ -3037,7 +3037,7 @@ struct cli_state *get_ipc_connect_master_ip_bcast(TALLOC_CTX *ctx, if (!NT_STATUS_IS_OK(status)) { DEBUG(99, ("No master browsers responded: %s\n", nt_errstr(status))); - return False; + return NULL; } for (i = 0; i < count; i++) { diff --git a/source3/libsmb/samlogon_cache.c b/source3/libsmb/samlogon_cache.c index 618a570c4e..b04cf0a219 100644 --- a/source3/libsmb/samlogon_cache.c +++ b/source3/libsmb/samlogon_cache.c @@ -205,7 +205,7 @@ struct netr_SamInfo3 *netsamlogon_cache_get(TALLOC_CTX *mem_ctx, const struct do if (!netsamlogon_cache_init()) { DEBUG(0,("netsamlogon_cache_get: cannot open %s for write!\n", NETSAMLOGON_TDB)); - return false; + return NULL; } /* Prepare key as DOMAIN-SID/USER-RID string */ |