diff options
author | kramm <kramm> | 2004-04-07 09:41:04 +0000 |
---|---|---|
committer | kramm <kramm> | 2004-04-07 09:41:04 +0000 |
commit | 385fb1fd5f980b87e69770a720e1ce255c9f7b2a (patch) | |
tree | d5357c2569a91994c46e17f9add066ecf5133bb3 /lib/bitio.c | |
parent | 4ca7f5a76f6cd8a8397ecb1078b87e038719a050 (diff) |
nullwriter now keeps track of how many bytes were written
Diffstat (limited to 'lib/bitio.c')
-rw-r--r-- | lib/bitio.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/bitio.c b/lib/bitio.c index 61d6ee0a..2394121e 100644 --- a/lib/bitio.c +++ b/lib/bitio.c @@ -175,6 +175,7 @@ void writer_init_filewriter2(struct writer_t*w, char*filename) static int writer_nullwrite_write(struct writer_t*w, void* data, int len) { + w->pos += len; return len; } static void writer_nullwrite_finish(struct writer_t*w) |