Commit 6c14fbf9 authored by Niels Möller's avatar Niels Möller
Browse files

(unix_dialog): Deleted instruction argument,

display dialog->instruction instead.

Rev: src/unix_interact.c:1.27
parent 8952e29b
......@@ -305,7 +305,6 @@ unix_yes_or_no(struct interact *s,
responsibility to sanity check them. */
static int
unix_dialog(struct interact *s,
const struct lsh_string *instruction,
const struct interact_dialog *dialog)
#define DIALOG_BUFSIZE 150
......@@ -313,8 +312,7 @@ unix_dialog(struct interact *s,
const struct exception *e;
unsigned i;
e = write_raw(self->tty_fd, STRING_LD(instruction));
e = write_raw(self->tty_fd, STRING_LD(dialog->instruction));
if (e)
return 0;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment