X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=recv.c;h=6f05c47fecf1cfb4ac20f8370e9d66b570984d0b;hp=9d6f028319fc6e1e8f36f7406fc64475fb3576df;hb=1e012cf40238883621692051a22fb9c7cad5e944;hpb=684ea7f70948c9ce5077a8a6460946ff86fefe46 diff --git a/recv.c b/recv.c index 9d6f0283..6f05c47f 100644 --- a/recv.c +++ b/recv.c @@ -9,6 +9,7 @@ #include #include #include +#include #include "para.h" #include "list.h" @@ -20,6 +21,7 @@ #include "string.h" #include "error.h" #include "stdout.h" +#include "buffer_tree.h" /** The gengetopt args info struct. */ static struct recv_args_info conf; @@ -95,6 +97,9 @@ int main(int argc, char *argv[]) goto out; r_opened = 1; + if (conf.buffer_tree_given) + sot.btrn = btr_new_node("stdout", rn.btrn, NULL, NULL); + stdout_set_defaults(&sot); sot.bufp = &rn.buf; sot.loaded = &rn.loaded;