]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - write_common.c
Handle empty command lines properly.
[paraslash.git] / write_common.c
index a1aac65e3ddab78e0516c515dd1a6e75c9793b79..44ccf88a16aed816cb6054e09419b232d5690895 100644 (file)
@@ -114,13 +114,7 @@ void register_writer_node(struct writer_node *wn, struct btr_node *parent,
        strcpy(wn->task.status, name);
        free(name);
        wn->task.pre_select = w->pre_select;
-       if (w->new_post_select) {
-               wn->task.new_post_select = w->new_post_select;
-               wn->task.post_select = NULL;
-       } else {
-               wn->task.new_post_select = NULL;
-               wn->task.post_select = w->post_select;
-       }
+       wn->task.post_select = w->post_select;
        register_task(s, &wn->task);
 }