]> granicus.if.org Git - php/commitdiff
- Revert crap
authorJani Taskinen <jani@php.net>
Mon, 2 Jun 2008 08:46:41 +0000 (08:46 +0000)
committerJani Taskinen <jani@php.net>
Mon, 2 Jun 2008 08:46:41 +0000 (08:46 +0000)
# Someone should remove Pierre's karma too..

ext/ldap/ldap.c

index 007e5ce19e9e44f43177674af519b4edeb30a2f2..66d2a33584e38c1d0f0f4ed04663f07eb0ba8dfd 100644 (file)
@@ -38,6 +38,7 @@
 
 #include "php.h"
 #include "php_ini.h"
+
 #include <stddef.h>
 
 #include "ext/standard/dl.h"
@@ -48,9 +49,7 @@
 #if HAVE_NSLDAP
 #include <winsock2.h>
 #endif
-#ifndef strdup
-#  define strdup _strdup
-#endif
+#define strdup _strdup
 #undef WINDOWS
 #undef strcasecmp
 #undef strncasecmp
@@ -247,13 +246,6 @@ PHP_MINFO_FUNCTION(ldap)
        }
        php_info_print_table_row(2, "Total Links", tmp);
 
-       
-#ifdef LDAP_VENDOR_VERSION_MAJOR
-       snprintf(tmp, 31, "%d.%d.%d", LDAP_VENDOR_VERSION_MAJOR, 
-                               LDAP_VENDOR_VERSION_MINOR, LDAP_VENDOR_VERSION_PATCH);
-       php_info_print_table_row(2, "Version", tmp);
-#endif
-
 #ifdef LDAP_API_VERSION
        snprintf(tmp, 31, "%d", LDAP_API_VERSION);
        php_info_print_table_row(2, "API Version", tmp);