- Fix problems with stuck telnet sessions. Thanks to Øyvind Harboe for this patch.
git-svn-id: svn://svn.berlios.de/openocd/trunk@308 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
@@ -44,7 +44,6 @@ enum telnet_states
|
||||
typedef struct telnet_connection_s
|
||||
{
|
||||
char *prompt;
|
||||
int suppress_prompt;
|
||||
enum telnet_states state;
|
||||
char line[TELNET_LINE_MAX_SIZE];
|
||||
int line_size;
|
||||
@@ -55,6 +54,7 @@ typedef struct telnet_connection_s
|
||||
char *history[TELNET_LINE_HISTORY_SIZE];
|
||||
int next_history;
|
||||
int current_history;
|
||||
int closed;
|
||||
} telnet_connection_t;
|
||||
|
||||
typedef struct telnet_service_s
|
||||
|
||||
Reference in New Issue
Block a user