forked from Imagelibrary/rtems
2008-05-27 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/shell/shell_getchar.c: Minor change so dropping connection while at prompt results in shell logging out and connection still being available.
This commit is contained in:
@@ -123,7 +123,7 @@ rtems_shell_getchar (FILE *in)
|
||||
struct translation_table *translation = 0;
|
||||
for (;;)
|
||||
{
|
||||
char c = fgetc (in);
|
||||
int c = fgetc (in);
|
||||
if (c == EOF)
|
||||
return EOF;
|
||||
if (c == 27)
|
||||
|
||||
Reference in New Issue
Block a user