From ef42db56c9ad91d10120861a42e70f8e85cc8870 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Fri, 27 Mar 2015 14:03:00 +0000 Subject: buffer_fill cosmetic fix --- src/libstddjb/buffer_fill.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/libstddjb/buffer_fill.c') diff --git a/src/libstddjb/buffer_fill.c b/src/libstddjb/buffer_fill.c index 07a916b..9899be1 100644 --- a/src/libstddjb/buffer_fill.c +++ b/src/libstddjb/buffer_fill.c @@ -2,7 +2,6 @@ #include #include -#include int buffer_fill (buffer *b) { @@ -12,6 +11,6 @@ int buffer_fill (buffer *b) buffer_wpeek(b, v) ; r = (*b->op)(b->fd, v, 2) ; if (r <= 0) return r ; - cbuffer_WSEEK(&b->c, r) ; + buffer_wseek(b, r) ; return r ; } -- cgit v1.2.3