com php-src: Fixed ifdef for VLV controls (copy/paste error): ext/ldap/ldap.c
| From: | Côme Bernigaud | Date: | Thu, 21 Sep 2017 08:05:42 +0000 |
| Subject: | com php-src: Fixed ifdef for VLV controls (copy/paste error): ext/ldap/ldap.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-99484@lists.php.net to get a copy of this message | ||
Commit: d76d57b887b4bbc594ecae0b88bf5227786d1b63
Author: Côme Chilliet <mcmic@php.net> Thu, 14 Sep 2017 10:03:04 +0200
Parents: c112b53a6011aa96098f7e706a31ffe6753d7270
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=d76d57b887b4bbc594ecae0b88bf5227786d1b63
Log:
Fixed ifdef for VLV controls (copy/paste error)
Changed paths:
M ext/ldap/ldap.c
Diff:
diff --git a/ext/ldap/ldap.c b/ext/ldap/ldap.c
index f325a00..8e2bfab 100644
--- a/ext/ldap/ldap.c
+++ b/ext/ldap/ldap.c
@@ -711,7 +711,7 @@ PHP_MINIT_FUNCTION(ldap)
REGISTER_STRING_CONSTANT("LDAP_CONTROL_X_TREE_DELETE", LDAP_CONTROL_X_TREE_DELETE,
CONST_PERSISTENT | CONST_CS);
REGISTER_STRING_CONSTANT("LDAP_CONTROL_X_EXTENDED_DN", LDAP_CONTROL_X_EXTENDED_DN,
CONST_PERSISTENT | CONST_CS);
#endif
-#ifdef LDAP_CONTROL_X_INCREMENTAL_VALUES
+#ifdef LDAP_CONTROL_VLVREQUEST
/* LDAP VLV */
REGISTER_STRING_CONSTANT("LDAP_CONTROL_VLVREQUEST", LDAP_CONTROL_VLVREQUEST,
CONST_PERSISTENT | CONST_CS);
REGISTER_STRING_CONSTANT("LDAP_CONTROL_VLVRESPONSE", LDAP_CONTROL_VLVRESPONSE,
CONST_PERSISTENT | CONST_CS);