summaryrefslogtreecommitdiffstats
path: root/source/smbd/nttrans.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-09-18 07:52:16 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:51:59 -0500
commit2f58645b7094e81dff3734f11aa183ea2ab53d2d (patch)
treec5c65611d18a60dd3612d2466a45d2b36dc4167a /source/smbd/nttrans.c
parenta52fa218952ffcd784ea31e947aa4d17dfdc8ee0 (diff)
downloadsamba-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/smbd/nttrans.c')
-rw-r--r--source/smbd/nttrans.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/smbd/nttrans.c b/source/smbd/nttrans.c
index 4dcc807c30c..c5e48a6324a 100644
--- a/source/smbd/nttrans.c
+++ b/source/smbd/nttrans.c
@@ -1049,14 +1049,13 @@ static struct ea_list *read_nttrans_ea_list(TALLOC_CTX *ctx, const char *pdata,
while (offset + 4 <= data_size) {
size_t next_offset = IVAL(pdata,offset);
- struct ea_list *tmp;
struct ea_list *eal = read_ea_list_entry(ctx, pdata + offset + 4, data_size - offset - 4, NULL);
if (!eal) {
return NULL;
}
- DLIST_ADD_END(ea_list_head, eal, tmp);
+ DLIST_ADD_END(ea_list_head, eal, struct ea_list *);
if (next_offset == 0) {
break;
}