summaryrefslogtreecommitdiff
blob: 06bbee86f1c987d9d08f30d112eeb8b322163f46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- clients.orig/tools/common.c	2006-05-05 00:24:01.000000000 -0700
+++ clients/tools/common.c	2006-05-05 00:24:13.000000000 -0700
@@ -904,8 +904,8 @@
 tool_bind( LDAP *ld )
 {
 #ifdef LDAP_CONTROL_PASSWORDPOLICYREQUEST
-	if ( ppolicy ) {
 		LDAPControl *ctrls[2], c;
+	if ( ppolicy ) {
 		c.ldctl_oid = LDAP_CONTROL_PASSWORDPOLICYREQUEST;
 		c.ldctl_value.bv_val = NULL;
 		c.ldctl_value.bv_len = 0;