- stdin_set_defaults(&sit);
- register_task(s, &sit.task);
- t->error = -E_TASK_STARTED;
- return;
- }
- if (ct->status == CL_RECEIVING) {
- stdout_set_defaults(&sot);
- register_task(s, &sot.task);
- t->error = -E_TASK_STARTED; return;
+ stdin_task_register(&sit, s);
+ return -E_TASK_STARTED;