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 fe75e26ab6
Signed-off-by: Jim Warner <james.warner@comcast.net>
This commit is contained in:
4
w.c
4
w.c
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user