X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=client.c;h=fef6ba4a5bc4194048a951d9ceb657d91d14e4ae;hp=2123421e71b099bb632b99c563aaafd5b0c70aaf;hb=afb43ec103ea5c0e194451c1289c514faee3b2e5;hpb=85663a14da08f4f8782d29a3b0c51de5cd0817b1 diff --git a/client.c b/client.c index 2123421e..fef6ba4a 100644 --- a/client.c +++ b/client.c @@ -6,9 +6,12 @@ /** \file client.c the client program used to connect to para_server */ +#include + #include "para.h" #include "list.h" #include "sched.h" +#include "crypt.h" #include "client.cmdline.h" #include "string.h" #include "stdin.h" @@ -40,7 +43,7 @@ static void supervisor_post_select(__a_unused struct sched *s, struct task *t) } if (ct->status == CL_RECEIVING) { stdout_set_defaults(&sot); - sot.buf = ct->buf; + sot.bufp = &ct->buf; sot.loaded = &ct->loaded; sot.input_error = &ct->task.error; register_task(&sot.task);