diff options
author | Jim Warner <james.warner@comcast.net> | 2013-03-31 00:00:00 -0500 |
---|---|---|
committer | Craig Small <csmall@enc.com.au> | 2013-04-07 18:05:01 +1000 |
commit | 7888f6a679e35e9a864a95575b1a8f14d8f0ec8d (patch) | |
tree | ca1bcbc2076a1ecd699415c9fe2f68ef8243a101 /w.c | |
parent | 293b668d5fe4e0d64fd5c77fa46ff14bb1e6e2e3 (diff) | |
download | procps-ng-7888f6a679e35e9a864a95575b1a8f14d8f0ec8d.tar.gz |
miscellaneous: clean up trailing whitespace once again
An earlier commit attempted to cleanse our environment
of all useless trailing whitespace. But the effort did
not catch 'empty' lines with a single space before ^J.
This commit hopefully finishes off the earlier effort.
In the meantime, let's pray that contributors' editors
are configured so that such wasted crap is disallowed!
Reference(s):
commit fe75e26ab64dab88762230db0797e765507b73ac
Signed-off-by: Jim Warner <james.warner@comcast.net>
Diffstat (limited to 'w.c')
-rw-r--r-- | w.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -142,12 +142,12 @@ static void print_display_or_interface(const char *restrict host, int len, int r fputc('-', stdout); } } else { /* multiple colons found - it's an IPv6 address */ - + /* search for % (interface separator in case of IPv6 link address) */ while ( (tmp < (host + len)) && (*tmp != '%') && isprint(*tmp) ) tmp++; if (*tmp == '%') { /* interface separator found */ - + /* number of chars till the end of the input field */ len -= (tmp - host); |