summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2004-04-06 23:14:06 +0000
committerIlia Alshanetsky <iliaa@php.net>2004-04-06 23:14:06 +0000
commit9a98c38cbd14b474f7032aca0866a824920a809d (patch)
tree94cb5d0920a5d83cd1c316ff5bf421e30eda9923
parente09aff93fb67c9136308d65c9bbf71351a9bfad8 (diff)
downloadphp-git-9a98c38cbd14b474f7032aca0866a824920a809d.tar.gz
Removed pointless check.
-rw-r--r--ext/ldap/ldap.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/ext/ldap/ldap.c b/ext/ldap/ldap.c
index 2577f3ba3a..2308bfda2a 100644
--- a/ext/ldap/ldap.c
+++ b/ext/ldap/ldap.c
@@ -399,9 +399,6 @@ PHP_FUNCTION(ldap_connect)
}
ld = ecalloc(1, sizeof(ldap_linkdata));
- if (ld == NULL) {
- RETURN_FALSE;
- }
#ifdef LDAP_API_FEATURE_X_OPENLDAP
if (host != NULL && strchr(host, '/')) {