]> mj.ucw.cz Git - libucw.git/commitdiff
Use brewind() where appropriate.
authorMartin Mares <mj@ucw.cz>
Fri, 16 Jan 2004 14:16:22 +0000 (14:16 +0000)
committerMartin Mares <mj@ucw.cz>
Fri, 16 Jan 2004 14:16:22 +0000 (14:16 +0000)
lib/sorter.h

index 9611e08279fef9ef45599bc06e5ec5275f9ea843..c2da83113646d0d1762786e491e67c731f9e02c7 100644 (file)
@@ -152,10 +152,7 @@ static struct fastbuf *
 P(flush_out)(struct fastbuf *out)
 {
   if (out)
-    {
-      bflush(out);
-      bsetpos(out, 0);
-    }
+    brewind(out);
   return out;
 }