svn commit: samba r12878 - in branches/SAMBA_3_0/source/libads: .
jpeach at samba.org
jpeach at samba.org
Fri Jan 13 00:07:55 GMT 2006
Author: jpeach
Date: 2006-01-13 00:07:54 +0000 (Fri, 13 Jan 2006)
New Revision: 12878
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=12878
Log:
Don't use non-static array initialisers.
Modified:
branches/SAMBA_3_0/source/libads/ldap.c
Changeset:
Modified: branches/SAMBA_3_0/source/libads/ldap.c
===================================================================
--- branches/SAMBA_3_0/source/libads/ldap.c 2006-01-12 22:17:54 UTC (rev 12877)
+++ branches/SAMBA_3_0/source/libads/ldap.c 2006-01-13 00:07:54 UTC (rev 12878)
@@ -1800,8 +1800,9 @@
char *hostnameDN, *host;
int rc;
LDAPControl ldap_control;
- LDAPControl * pldap_control[] = {&ldap_control, 0};
+ LDAPControl * pldap_control[2] = {NULL, NULL};
+ pldap_control[0] = &ldap_control;
memset(&ldap_control, 0, sizeof(LDAPControl));
ldap_control.ldctl_oid = (char *)LDAP_SERVER_TREE_DELETE_OID;
More information about the samba-cvs
mailing list