From 24743158811a1f5a6aa930be8d4cad7d4f9ac22f Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Tue, 13 Dec 2011 15:45:59 +0100 Subject: Just push instead push_chunk --- fastwriter.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'fastwriter.c') diff --git a/fastwriter.c b/fastwriter.c index 70f1043..3e63468 100644 --- a/fastwriter.c +++ b/fastwriter.c @@ -232,7 +232,7 @@ static void *fastwriter_writer_thread(void *user) { } -int fastwriter_push_chunk(fastwriter_t *ctx, size_t size, const void *data) { +int fastwriter_push(fastwriter_t *ctx, size_t size, const void *data) { size_t part1, end; size_t free = fastwriter_compute_free_space(ctx); @@ -307,7 +307,7 @@ int fastwriter_cancel(fastwriter_t *ctx) { int fastwriter_push_data(fastwriter_t *ctx, size_t size, const void *buf) { int err; - err = fastwriter_push_chunk(ctx, size, buf); + err = fastwriter_push(ctx, size, buf); if (err) return err; err = fastwriter_commit(ctx); -- cgit v1.2.3