diff options
author | Kevin Steves <stevesk@cvs.openbsd.org> | 2001-02-04 15:32:28 +0000 |
---|---|---|
committer | Kevin Steves <stevesk@cvs.openbsd.org> | 2001-02-04 15:32:28 +0000 |
commit | dda52756dc38adc836a931454a6d6b3cfcac978b (patch) | |
tree | 7a5c0d16008cd6b4ef4a67db67ec5af35e46ae29 /usr.bin/ssh/cli.c | |
parent | 16979520bbe106bb4e81a0d4213e2c053956e333 (diff) |
unexpand and remove end-of-line whitespace; ok markus@
Diffstat (limited to 'usr.bin/ssh/cli.c')
-rw-r--r-- | usr.bin/ssh/cli.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/usr.bin/ssh/cli.c b/usr.bin/ssh/cli.c index 943bc104b2c..ec5927d7720 100644 --- a/usr.bin/ssh/cli.c +++ b/usr.bin/ssh/cli.c @@ -1,5 +1,5 @@ #include "includes.h" -RCSID("$OpenBSD: cli.c,v 1.6 2001/01/21 19:05:47 markus Exp $"); +RCSID("$OpenBSD: cli.c,v 1.7 2001/02/04 15:32:23 stevesk Exp $"); #include "xmalloc.h" #include "log.h" @@ -138,11 +138,11 @@ cli_write(char* buf, int size) output = xmalloc(4*size); for (p = output, i = 0; i < size; i++) { - if (buf[i] == '\n') - *p++ = buf[i]; - else - p = vis(p, buf[i], 0, 0); - } + if (buf[i] == '\n') + *p++ = buf[i]; + else + p = vis(p, buf[i], 0, 0); + } len = p - output; for (pos = 0; pos < len; pos += ret) { |