svlogd: remove unused buffering, stop doing tons of memcpy

This commit is contained in:
Denis Vlasenko
2007-01-27 22:24:59 +00:00
parent bde74b617f
commit ca549c5e69
2 changed files with 58 additions and 34 deletions

View File

@ -286,12 +286,12 @@ uint64_t taia2millisec(const struct taia *t)
}
void iopause(iopause_fd *x,unsigned len,struct taia *deadline,struct taia *stamp)
void iopause(iopause_fd *x, unsigned len, struct taia *deadline, struct taia *stamp)
{
int millisecs;
int i;
if (taia_less(deadline,stamp))
if (taia_less(deadline, stamp))
millisecs = 0;
else {
uint64_t m;