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 /testing/examples/STR710Test/test_rom.hex | |
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 'testing/examples/STR710Test/test_rom.hex')
0 files changed, 0 insertions, 0 deletions