summaryrefslogtreecommitdiff
path: root/ext/ldap
diff options
context:
space:
mode:
authorEtienne Kneuss <colder@php.net>2008-05-04 21:19:18 +0000
committerEtienne Kneuss <colder@php.net>2008-05-04 21:19:18 +0000
commitc54c42dcf348556b7fcc2ddb99dc9705992d3d28 (patch)
tree23023f44a56955b3e7df8abdcd8921b7aa0f8676 /ext/ldap
parent029a4c8213014277173dbbd80ffbfa5610879177 (diff)
downloadphp-git-c54c42dcf348556b7fcc2ddb99dc9705992d3d28.tar.gz
MFH: Fix protos
Diffstat (limited to 'ext/ldap')
-rw-r--r--ext/ldap/ldap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/ldap/ldap.c b/ext/ldap/ldap.c
index e4ba7745e9..97a8ad6ae3 100644
--- a/ext/ldap/ldap.c
+++ b/ext/ldap/ldap.c
@@ -471,7 +471,7 @@ static int _get_lderrno(LDAP *ldap)
}
/* }}} */
-/* {{{ proto bool ldap_bind(resource link [, string dn, string password])
+/* {{{ proto bool ldap_bind(resource link [, string dn [, string password]])
Bind to LDAP directory */
PHP_FUNCTION(ldap_bind)
{
@@ -581,7 +581,7 @@ static int _php_sasl_interact(LDAP *ld, unsigned flags, void *defaults, void *in
}
/* }}} */
-/* {{{ proto bool ldap_sasl_bind(resource link [, string binddn, string password, string sasl_mech, string sasl_realm, string sasl_authc_id, string sasl_authz_id, string props])
+/* {{{ proto bool ldap_sasl_bind(resource link [, string binddn [, string password [, string sasl_mech [, string sasl_realm [, string sasl_authc_id [, string sasl_authz_id [, string props]]]]]]])
Bind to LDAP directory using SASL */
PHP_FUNCTION(ldap_sasl_bind)
{