code-style: minor cleanup and nitpicking

This commit is contained in:
Hiltjo Posthuma
2015-02-20 13:28:24 +01:00
parent 6c7ff5fda5
commit 31f0624f3d
8 changed files with 20 additions and 20 deletions

4
sort.c
View File

@@ -254,7 +254,7 @@ parse_keydef(struct keydef *kd, char *s, int flags)
static char *
skipblank(char *s)
{
while(*s && isblank(*s))
while (*s && isblank(*s))
s++;
return s;
}
@@ -264,7 +264,7 @@ nextcol(char *s)
{
if (!fieldsep) {
s = skipblank(s);
while(*s && !isblank(*s))
while (*s && !isblank(*s))
s++;
} else {
if (!strchr(s, *fieldsep))