From cb23052b2055d77924b2a593ec14f0c1de9a3b51 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Tue, 15 Apr 2008 14:36:39 +0200 Subject: [PATCH] libsmbconf: allow NULL sharename in smbconf_share_exists(). Michael --- source/lib/smbconf/smbconf.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/source/lib/smbconf/smbconf.c b/source/lib/smbconf/smbconf.c index 541b163bfb6..0359e000d38 100644 --- a/source/lib/smbconf/smbconf.c +++ b/source/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); } -- 2.11.4.GIT