mirror of
https://github.com/opnsense/src.git
synced 2026-06-10 09:11:07 -04:00
one file somehow slipped by me in the previous commit
tidy up
This commit is contained in:
parent
58db4b5a8f
commit
6439f56e80
2 changed files with 6 additions and 2 deletions
|
|
@ -136,7 +136,8 @@ forward(fp, style, off, sbp)
|
|||
return;
|
||||
}
|
||||
} else
|
||||
bytes(fp, off);
|
||||
if (bytes(fp, off))
|
||||
return;
|
||||
break;
|
||||
case RLINES:
|
||||
if (S_ISREG(sbp->st_mode))
|
||||
|
|
@ -154,7 +155,8 @@ forward(fp, style, off, sbp)
|
|||
return;
|
||||
}
|
||||
} else
|
||||
lines(fp, off);
|
||||
if (lines(fp, off))
|
||||
return;
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -113,6 +113,7 @@ bytes(fp, off)
|
|||
if (len = p - sp)
|
||||
WR(sp, len);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
@ -195,4 +196,5 @@ lines(fp, off)
|
|||
for (cnt = 0; cnt < recno; ++cnt)
|
||||
WR(lines[cnt].l, lines[cnt].len);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue