X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=send_common.c;h=71e0852a665d2222cf0ae8fa3b05856d1ab5db2e;hp=005583cf52bf425f67727df68600c1094a3c0ad8;hb=65b6448b8eb6f7442ba64affff58c388306a9159;hpb=f32c0776882e01913c64c8ccbf2d94e0fb4d6369 diff --git a/send_common.c b/send_common.c index 005583cf..71e0852a 100644 --- a/send_common.c +++ b/send_common.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2005-2010 Andre Noll + * Copyright (C) 2005-2012 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ @@ -7,7 +7,6 @@ /** \file send_common.c Functions used by more than one paraslash sender. */ #include -#include #include #include "para.h" @@ -23,6 +22,7 @@ #include "send.h" #include "close_on_fork.h" #include "chunk_queue.h" +#include "sched.h" #include "vss.h" /** Clients will be kicked if there are more than that many bytes pending. */ @@ -261,6 +261,7 @@ void generic_com_off(struct sender_status *ss) * Accept a connection on the socket this server is listening on. * * \param ss The sender whose listening fd is ready for reading. + * \param rfds Passed to para_accept(), * * This must be called only if the socket fd of \a ss is ready for reading. It * calls para_accept() to accept the connection and performs the following