diff options
-rw-r--r-- | src/libstddjb/buffer_fill.c | 3 |
1 files changed, 1 insertions, 2 deletions
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 <errno.h> #include <skalibs/buffer.h> -#include <skalibs/cbuffer.h> 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 ; } |