diff options
author | Øyvind Harboe <oyvind.harboe@zylin.com> | 2010-01-21 16:41:54 +0100 |
---|---|---|
committer | Øyvind Harboe <oyvind.harboe@zylin.com> | 2010-01-31 15:06:02 +0100 |
commit | f68dff66904321392c3137db7eb40e8633c2e507 (patch) | |
tree | 647ad0c6a743a4e4a4380f5ca606cd9ac570fe17 /src/target | |
parent | e11ce3e6b00f02eba9a15673a54f5345eba8398b (diff) | |
download | openocd_libswd-f68dff66904321392c3137db7eb40e8633c2e507.tar.gz openocd_libswd-f68dff66904321392c3137db7eb40e8633c2e507.tar.bz2 openocd_libswd-f68dff66904321392c3137db7eb40e8633c2e507.tar.xz openocd_libswd-f68dff66904321392c3137db7eb40e8633c2e507.zip |
telnet: fix strage blank spaces at beginning of telnet lines
Sometimes we saw two strange blank spaces at the beginning
of the telnet lines.
progress
ogress
>
This patch fixes this problem:
progress
progress
>
The code changes are *reasonably* clean, but perhaps it could be
made a bit more elegant, but I didn't want to change things after
I finished diagnosis/testing & submitting the patch.
The problem was that logging can send the text and the newline
separately in two different requests and the telnet code would
incorrectly remove the prompt from the end of a line.
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Diffstat (limited to 'src/target')
0 files changed, 0 insertions, 0 deletions