]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - grab_client.c
Reformat fade.ggo
[paraslash.git] / grab_client.c
index e81ad992733b8d0fad16ded17694891513875713..735e5b4bc90739c0c55991eaffcaf76f02841ea0 100644 (file)
@@ -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.
  *