diff --git a/plugins/check_ldap.c b/plugins/check_ldap.c
index 492839468130b1fa54f7a093bcbdc8ef5b40a6f0..400d74ad7655f38bdba16a722b7b76e5076ab625 100644 (file)
--- a/plugins/check_ldap.c
+++ b/plugins/check_ldap.c
if (ld_host==NULL || strlen(ld_host)==0)
usage4 (_("Please specify the host name\n"));
- if (ld_base==NULL || strlen(ld_base)==0)
+ if (ld_base==NULL)
usage4 (_("Please specify the LDAP base\n"));
return OK;