summaryrefslogtreecommitdiff
path: root/ext/ldap/ldap.c
diff options
context:
space:
mode:
authorJani Taskinen <jani@php.net>2008-06-02 11:23:16 +0000
committerJani Taskinen <jani@php.net>2008-06-02 11:23:16 +0000
commitd652cec246bd394efd039c6625688bbf4385f32c (patch)
tree977edc1e798be00288a78622e51ebf17af00901d /ext/ldap/ldap.c
parent572adc05e40a139b36fd92e3f8342a56e7a220f9 (diff)
downloadphp-git-d652cec246bd394efd039c6625688bbf4385f32c.tar.gz
- Revert pointless patch: a) the version is already there, see line above,
b) one branch commits are idiotic to begin with, we have three active branches! This only leads to out-of-sync situations ála PDO..
Diffstat (limited to 'ext/ldap/ldap.c')
-rw-r--r--ext/ldap/ldap.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/ext/ldap/ldap.c b/ext/ldap/ldap.c
index a5f6760f60..66d2a33584 100644
--- a/ext/ldap/ldap.c
+++ b/ext/ldap/ldap.c
@@ -49,9 +49,7 @@
#if HAVE_NSLDAP
#include <winsock2.h>
#endif
-#ifndef strdup
#define strdup _strdup
-#endif
#undef WINDOWS
#undef strcasecmp
#undef strncasecmp
@@ -256,14 +254,10 @@ PHP_MINFO_FUNCTION(ldap)
#ifdef LDAP_VENDOR_NAME
php_info_print_table_row(2, "Vendor Name", LDAP_VENDOR_NAME);
#endif
-
+
#ifdef LDAP_VENDOR_VERSION
snprintf(tmp, 31, "%d", LDAP_VENDOR_VERSION);
php_info_print_table_row(2, "Vendor Version", tmp);
-
- snprintf(tmp, 31, "%d.%d.%d", LDAP_VENDOR_VERSION_MAJOR,
- LDAP_VENDOR_VERSION_MINOR, LDAP_VENDOR_VERSION_PATCH);
- php_info_print_table_row(2, "Vendor Version String", tmp);
#endif
#if HAVE_NSLDAP