From f51677051cc139bdeb9d66196ca5405cecce1a35 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Thu, 17 Feb 2005 14:27:34 +0000 Subject: r5428: Apply some const. LDAP attribs should now be declared const char *attr[]. This gives some new warnings in smbldap.c, but a the callers are cleaned up. Volker (This used to be commit 543799fc0ddc3176469acc1fab7093c41556d403) --- source3/nsswitch/winbindd_rpc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/nsswitch') diff --git a/source3/nsswitch/winbindd_rpc.c b/source3/nsswitch/winbindd_rpc.c index 10d6e4f4fa..b4d8cc3956 100644 --- a/source3/nsswitch/winbindd_rpc.c +++ b/source3/nsswitch/winbindd_rpc.c @@ -769,7 +769,7 @@ static int get_ldap_seq(const char *server, int port, uint32 *seq) { int ret = -1; struct timeval to; - char *attrs[] = {"highestCommittedUSN", NULL}; + const char *attrs[] = {"highestCommittedUSN", NULL}; LDAPMessage *res = NULL; char **values = NULL; LDAP *ldp = NULL; -- cgit