summaryrefslogtreecommitdiff
path: root/src/libstddjb
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2015-03-27 14:03:00 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2015-03-27 14:03:00 +0000
commitef42db56c9ad91d10120861a42e70f8e85cc8870 (patch)
treec1be67bbbaeb00f8e0a059eb5ac99403304e6d6f /src/libstddjb
parente17f71f9f01a429664caf120d9ac159ed9f5283f (diff)
downloadskalibs-ef42db56c9ad91d10120861a42e70f8e85cc8870.tar.xz
buffer_fill cosmetic fix
Diffstat (limited to 'src/libstddjb')
-rw-r--r--src/libstddjb/buffer_fill.c3
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 ;
}