X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=grab_client.c;h=735e5b4bc90739c0c55991eaffcaf76f02841ea0;hp=e81ad992733b8d0fad16ded17694891513875713;hb=f75fe9dd2d9379aca4b2b1a6f1523bb695a1f237;hpb=a041c8f444140dca47109371c4ede6b32b33be60 diff --git a/grab_client.c b/grab_client.c index e81ad992..735e5b4b 100644 --- a/grab_client.c +++ b/grab_client.c @@ -24,9 +24,9 @@ */ #include "para.h" -#include "close_on_fork.h" #include "grab_client.cmdline.h" #include "list.h" +#include "sched.h" #include "filter.h" #include "grab_client.h" #include "audiod.h" @@ -144,7 +144,6 @@ static void gc_close(struct filter_callback *fcb) if (gc->conf->one_shot_given || gc->error) { PARA_INFO_LOG("closing fd %d (grab client %p)\n", gc->fd, gc); - del_close_on_fork_list(gc->fd); close(gc->fd); gc_free(gc); /* close on fork ?*/ @@ -217,11 +216,10 @@ void activate_inactive_grab_clients(int slot, int audio_format_num, * check the command line options and allocate a grab_client structure * * \param fd the file descriptor of the client - * \param argc the number of command line options - * \param argv pointers to the command line options + * \param line the command line * \param err non-zero if an error occured * - * If the command line options given by \a argc and \a argv are valid. + * If the command line options given by \a argc and \a argv are valid. * allocate a struct grab_client and initialize it with this valid * configuration. Moreover, add the new grab client to the inactive list. *