summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-04-15 14:36:39 +0200
committerMichael Adam <obnox@samba.org>2008-04-15 17:40:27 +0200
commite700800720aec4b9a85a5c3cbc95cd78a03defaa (patch)
treebbe68fa266574c0d2507bd7ad2ea48832a822b9e
parent0e7497936ce71a65af00ac08fa372082310c2fba (diff)
downloadsamba-e700800720aec4b9a85a5c3cbc95cd78a03defaa.tar.gz
samba-e700800720aec4b9a85a5c3cbc95cd78a03defaa.tar.bz2
samba-e700800720aec4b9a85a5c3cbc95cd78a03defaa.zip
libsmbconf: allow NULL sharename in smbconf_share_exists().
Michael (This used to be commit cb23052b2055d77924b2a593ec14f0c1de9a3b51)
-rw-r--r--source3/lib/smbconf/smbconf.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/source3/lib/smbconf/smbconf.c b/source3/lib/smbconf/smbconf.c
index 541b163bfb..0359e000d3 100644
--- a/source3/lib/smbconf/smbconf.c
+++ b/source3/lib/smbconf/smbconf.c
@@ -183,9 +183,6 @@ WERROR smbconf_get_share_names(struct smbconf_ctx *ctx,
bool smbconf_share_exists(struct smbconf_ctx *ctx,
const char *servicename)
{
- if (servicename == NULL) {
- return false;
- }
return ctx->ops->share_exists(ctx, servicename);
}