git.samba.org
/
tprouty
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1315c8c
)
fix for IRIX compile error
author
Herb Lewis
<herb@samba.org>
Mon, 4 Mar 2002 01:07:02 +0000
(
01:07
+0000)
committer
Herb Lewis
<herb@samba.org>
Mon, 4 Mar 2002 01:07:02 +0000
(
01:07
+0000)
(This used to be commit
2d620909f9def17dacf2af997a32d596f4dbd827
)
source3/libads/ldap.c
patch
|
blob
|
history
diff --git
a/source3/libads/ldap.c
b/source3/libads/ldap.c
index 763f1bc354e41f9372fc5879d6c7622149639da8..ef1902960f8f3f23c57b15982b1e74657d985d03 100644
(file)
--- a/
source3/libads/ldap.c
+++ b/
source3/libads/ldap.c
@@
-359,9
+359,10
@@
ADS_STATUS ads_gen_mod(ADS_STRUCT *ads, const char *mod_dn, ADS_MODLIST mods)
"1.2.840.113556.1.4.1413",
{0, NULL},
(char) 1};
- LDAPControl *controls[2] = {
- &PermitModify,
- NULL };
+ LDAPControl *controls[2];
+
+ controls[0] = &PermitModify;
+ controls[1] = NULL;
/* find the end of the list, marked by NULL or -1 */
for(i=0;(mods[i]!=0)&&(mods[i]!=(LDAPMod *) -1);i++);