- 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:
drath
2008-02-18 18:03:08 +00:00
parent 48709fba0b
commit 17b65ad9a1
2 changed files with 67 additions and 49 deletions

View File

@@ -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