]> mj.ucw.cz Git - libucw.git/commitdiff
Fastbufs: Fixed btell() in writeable fbbuf.
authorPavel Charvat <pchar@ucw.cz>
Mon, 30 Jul 2012 13:47:55 +0000 (15:47 +0200)
committerPavel Charvat <pchar@ucw.cz>
Mon, 30 Jul 2012 13:47:55 +0000 (15:47 +0200)
ucw/fb-buffer.c

index 5914bef5e13232ddbc58b1e514f7df5e030c8ed4..c91dbaf4ddd425fbb5214be9c2d6094f2f0272ab 100644 (file)
@@ -65,7 +65,6 @@ fbbuf_init_write(struct fastbuf *f, byte *buf, uns size)
     .bptr = buf,
     .bufend = buf + size,
     .name = "fbbuf-write",
-    .pos = size,
     .spout = fbbuf_spout,
   };
 }