X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=dccp_send.c;h=9b72b7c90e089f6b09f711094634f69f826df3ab;hp=d66b800fb032525b26f02ff8fc5e58e7087f7adb;hb=b2e6a24448a9e49e0766ab4f32163580eeff469e;hpb=bc8187d6a4ca3191b3c54226ba54e4f0c4cf4e6e diff --git a/dccp_send.c b/dccp_send.c index d66b800f..9b72b7c9 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. */ @@ -63,13 +63,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)