X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=recv.c;h=297fbe92be868d477fc32ed8c8dc480342c1d325;hp=9d6f028319fc6e1e8f36f7406fc64475fb3576df;hb=0b101563e67c91bc660f6a16b5889901d9e8eeff;hpb=2aa98426fca67a8b9c075ca7efea54aef18c0380 diff --git a/recv.c b/recv.c index 9d6f0283..297fbe92 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); + stdout_set_defaults(&sot); sot.bufp = &rn.buf; sot.loaded = &rn.loaded;