diff options
author | Stefan Metzmacher <metze@samba.org> | 2006-09-18 07:52:16 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:51:59 -0500 |
commit | 2f58645b7094e81dff3734f11aa183ea2ab53d2d (patch) | |
tree | c5c65611d18a60dd3612d2466a45d2b36dc4167a /source/lib/smbldap.c | |
parent | a52fa218952ffcd784ea31e947aa4d17dfdc8ee0 (diff) | |
download | samba-2f58645b7094e81dff3734f11aa183ea2ab53d2d.tar.gz samba-2f58645b7094e81dff3734f11aa183ea2ab53d2d.tar.xz samba-2f58645b7094e81dff3734f11aa183ea2ab53d2d.zip |
r18605: sync dlinklist.h with samba4, that means DLIST_ADD_END()
and DLIST_DEMOTE() now take the type of the tmp pointer
not the tmp pointer itself anymore.
metze
Diffstat (limited to 'source/lib/smbldap.c')
-rw-r--r-- | source/lib/smbldap.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/lib/smbldap.c b/source/lib/smbldap.c index b46ab4d750b..85dd5fa3d67 100644 --- a/source/lib/smbldap.c +++ b/source/lib/smbldap.c @@ -572,7 +572,6 @@ static void smbldap_store_state(LDAP *ld, struct smbldap_state *smbldap_state) { struct smbldap_state *tmp_ldap_state; struct smbldap_state_lookup *t; - struct smbldap_state_lookup *tmp; if ((tmp_ldap_state = smbldap_find_state(ld))) { SMB_ASSERT(tmp_ldap_state == smbldap_state); @@ -582,7 +581,7 @@ static void smbldap_store_state(LDAP *ld, struct smbldap_state *smbldap_state) t = SMB_XMALLOC_P(struct smbldap_state_lookup); ZERO_STRUCTP(t); - DLIST_ADD_END(smbldap_state_lookup_list, t, tmp); + DLIST_ADD_END(smbldap_state_lookup_list, t, struct smbldap_state_lookup *); t->ld = ld; t->smbldap_state = smbldap_state; } |