X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=server.c;h=e8dddf5bc27a80238436811b7d2b46680cddb3d7;hp=473233599b9844310f1b77e8a0c196c8afe007f9;hb=1ecb886f1aa76e72bd11d45782210b5ca19bce42;hpb=ccf5026c5cbe90cf3b3a07531b0946aa19cdd611 diff --git a/server.c b/server.c index 47323359..e8dddf5b 100644 --- a/server.c +++ b/server.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 1997-2010 Andre Noll + * Copyright (C) 1997-2011 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ @@ -57,17 +57,15 @@ * * - Doubly linked lists: \ref list.h, * - Ring buffer: \ref ringbuffer.c, \ref ringbuffer.h, - * - Hashing: \ref hash.h, \ref sha1.h, \ref sha1.c, - * - Crypto: \ref crypt.c. + * - Crypto: \ref crypt.c, \ref crypt.h. * - Forward error correction: \ref fec.c. */ #include -#include #include -#include #include #include +#include #include "para.h" #include "error.h" @@ -90,6 +88,7 @@ #include "signal.h" #include "user_list.h" #include "color.h" +#include "version.h" /** Define the array of error lists needed by para_server. */ INIT_SERVER_ERRLISTS; @@ -425,6 +424,7 @@ static void init_server_command_task(int argc, char **argv) if (ret < 0) goto err; add_close_on_fork_list(sct->listen_fd); /* child doesn't need the listener */ + sprintf(sct->task.status, "server command task"); register_task(&sct->task); return; err: