]> granicus.if.org Git - php/commitdiff
Removed pointless check.
authorIlia Alshanetsky <iliaa@php.net>
Tue, 6 Apr 2004 23:14:06 +0000 (23:14 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Tue, 6 Apr 2004 23:14:06 +0000 (23:14 +0000)
ext/ldap/ldap.c

index 2577f3ba3a4b768881c5cd603b79f0aedf19742c..2308bfda2a4c99fe69aade0715ba9aec6168e9b2 100644 (file)
@@ -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, '/')) {