- sit.bufsize = 16 * 1024,
- sit.buf = para_malloc(16 * 1024),
- sit.loaded = 0,
- sit.task.pre_select = stdin_pre_select;
- sit.task.post_select = stdin_post_select;
- sit.task.error_handler = stdin_error_handler;
- sit.task.flags = POST_EOF_IS_ERROR;
- sit.task.private_data = &sit;
+ wng = check_args();
+ if (!wng)
+ goto out;
+ stdin_set_defaults(&sit);
+ if (conf.bufsize_given)
+ sit.bufsize = conf.bufsize_arg;
+ sit.buf = para_malloc(sit.bufsize),