X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=dccp_send.c;h=1e62d289538ad52cb2325dfd262bb59687eeb15e;hp=d66b800fb032525b26f02ff8fc5e58e7087f7adb;hb=becb57ea3aec697bfe953a0c3608e4c255b6d24b;hpb=bc8187d6a4ca3191b3c54226ba54e4f0c4cf4e6e;ds=sidebyside diff --git a/dccp_send.c b/dccp_send.c index d66b800f..1e62d289 100644 --- a/dccp_send.c +++ b/dccp_send.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2006-2008 Andre Noll + * Copyright (C) 2006-2009 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ @@ -13,6 +13,7 @@ #include #include +#include #include "para.h" #include "error.h" @@ -63,13 +64,14 @@ static void dccp_post_select(fd_set *rfds, __a_unused fd_set *wfds) } static void dccp_send(long unsigned current_chunk, - __a_unused long unsigned chunks_sent, const char *buf, size_t len) + __a_unused long unsigned chunks_sent, const char *buf, + size_t len, const char *header_buf, size_t header_len) { struct sender_client *sc, *tmp; list_for_each_entry_safe(sc, tmp, &dss->client_list, node) send_chunk(sc, dss, DCCP_MAX_BYTES_PER_WRITE, current_chunk, buf, - len); + len, header_buf, header_len); } static void dccp_shutdown_clients(void)