diff options
author | rsc <devnull@localhost> | 2006-09-18 04:25:12 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2006-09-18 04:25:12 +0000 |
commit | 3fbe92ef1a2de9e8f470f66990a8637c0e29245b (patch) | |
tree | 57462dca074ac20a4789c234b22de847c118b564 /src | |
parent | ec270e2d09a8eacadc3061573f8bade8e7132d23 (diff) | |
download | plan9port-3fbe92ef1a2de9e8f470f66990a8637c0e29245b.tar.gz plan9port-3fbe92ef1a2de9e8f470f66990a8637c0e29245b.tar.bz2 plan9port-3fbe92ef1a2de9e8f470f66990a8637c0e29245b.zip |
revert 1.4 -> 1.5 change
Diffstat (limited to 'src')
-rw-r--r-- | src/cmd/venti/srv/zblock.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/cmd/venti/srv/zblock.c b/src/cmd/venti/srv/zblock.c index 4aa11f45..4cc96dd4 100644 --- a/src/cmd/venti/srv/zblock.c +++ b/src/cmd/venti/srv/zblock.c @@ -5,13 +5,11 @@ void fmtzbinit(Fmt *f, ZBlock *b) { - f->runes = 0; + memset(f, 0, sizeof *f); + fmtlocaleinit(f, nil, nil, nil); f->start = b->data; f->to = f->start; f->stop = (char*)f->start + b->len; - f->flush = nil; - f->farg = nil; - f->nfmt = 0; } #define ROUNDUP(p, n) ((void*)(((uintptr)(p)+(n)-1)&~(uintptr)((n)-1))) |