Fixup READLINE case

RT#4543

Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Andy Polyakov <appro@openssl.org>
This commit is contained in:
Richard Levitte 2016-05-20 10:13:14 +02:00
parent 1bc74519a2
commit 72106aaab4

View file

@ -204,7 +204,7 @@ int main(int argc, char *argv[])
extern void add_history(const char *cp); extern void add_history(const char *cp);
char *text; char *text;
char *text = readline(prompt); text = readline(prompt);
if (text == NULL) if (text == NULL)
goto end; goto end;
i = strlen(text); i = strlen(text);