diff options
author | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-23 22:37:56 +0000 |
---|---|---|
committer | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-23 22:37:56 +0000 |
commit | 5e98c71436569d39ac9fe0fb66910f28c0e531f8 (patch) | |
tree | bc4a93619d9b8aa36e5ea3694f643e9f5b5c8fda /src/server | |
parent | 0ab650293add8da2f4d58fd90c17d452312a8a9d (diff) | |
download | openocd+libswd-5e98c71436569d39ac9fe0fb66910f28c0e531f8.tar.gz openocd+libswd-5e98c71436569d39ac9fe0fb66910f28c0e531f8.tar.bz2 openocd+libswd-5e98c71436569d39ac9fe0fb66910f28c0e531f8.tar.xz openocd+libswd-5e98c71436569d39ac9fe0fb66910f28c0e531f8.zip |
- Fixes '-=' whitespace
- Replace '\(\w\)\(-=\)(' with '\1 \2 ('.
- Replace '\(\w\)\(-=\)\(\w\)' with '\1 \2 \3'.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2362 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/server')
-rw-r--r-- | src/server/telnet_server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/telnet_server.c b/src/server/telnet_server.c index cf74344f..4355f8a6 100644 --- a/src/server/telnet_server.c +++ b/src/server/telnet_server.c @@ -120,7 +120,7 @@ void telnet_log_callback(void *priv, const char *file, int line, /* clear the command line */ telnet_write(connection, "\r", 1); - for (i = strlen(t_con->prompt) + t_con->line_size; i>0; i-=16) + for (i = strlen(t_con->prompt) + t_con->line_size; i>0; i -= 16) telnet_write(connection, " ", i>16 ? 16 : i); telnet_write(connection, "\r", 1); |