Commit 83cfe17f authored by Rusty Russell's avatar Rusty Russell

ccanlint: don't skip every second question

We only grabbed one character at a time from stdin, so "y<return>" answered
the next question as well.
parent 5116109c
......@@ -59,7 +59,7 @@ static void indent_print(const char *string)
bool ask(const char *question)
{
char reply[2];
char reply[80];
printf("%s ", question);
fflush(stdout);
......
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