Fixup READLINE case
RT#4543 Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Andy Polyakov <appro@openssl.org>
This commit is contained in:
parent
1bc74519a2
commit
72106aaab4
1 changed files with 1 additions and 1 deletions
|
@ -204,7 +204,7 @@ int main(int argc, char *argv[])
|
|||
extern void add_history(const char *cp);
|
||||
char *text;
|
||||
|
||||
char *text = readline(prompt);
|
||||
text = readline(prompt);
|
||||
if (text == NULL)
|
||||
goto end;
|
||||
i = strlen(text);
|
||||
|
|
Loading…
Reference in a new issue