summaryrefslogtreecommitdiff
path: root/source4/lib/stream/packet.c
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2016-02-05 11:32:18 +0100
committerJeremy Allison <jra@samba.org>2016-02-06 21:48:17 +0100
commit476672b647e44898a6de8894b23e598ad13b1fcf (patch)
treefc67ec55ef70436208321dd38061147b138fa8ce /source4/lib/stream/packet.c
parent5d759bd0d4bf7cae8b54b69af5ecacb7987c2a0f (diff)
downloadsamba-476672b647e44898a6de8894b23e598ad13b1fcf.tar.gz
dlist: remove unneeded type argument from DLIST_ADD_END()
Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source4/lib/stream/packet.c')
-rw-r--r--source4/lib/stream/packet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/stream/packet.c b/source4/lib/stream/packet.c
index b36d6507ef0..b0503694034 100644
--- a/source4/lib/stream/packet.c
+++ b/source4/lib/stream/packet.c
@@ -541,7 +541,7 @@ _PUBLIC_ NTSTATUS packet_send_callback(struct packet_context *pc, DATA_BLOB blob
el = talloc(pc, struct send_element);
NT_STATUS_HAVE_NO_MEMORY(el);
- DLIST_ADD_END(pc->send_queue, el, struct send_element *);
+ DLIST_ADD_END(pc->send_queue, el);
el->blob = blob;
el->nsent = 0;
el->send_callback = send_callback;