code-style: minor cleanup and nitpicking
This commit is contained in:
4
sort.c
4
sort.c
@@ -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))
|
||||
|
Reference in New Issue
Block a user