skalibs

Mirror/fork of https://skarnet.org/software/skalibs/
git clone https://ccx.te2000.cz/git/skalibs
Log | Files | Refs | README | LICENSE

commit ef42db56c9ad91d10120861a42e70f8e85cc8870
parent e17f71f9f01a429664caf120d9ac159ed9f5283f
Author: Laurent Bercot <ska-skaware@skarnet.org>
Date:   Fri, 27 Mar 2015 14:03:00 +0000

 buffer_fill cosmetic fix

Diffstat:
Msrc/libstddjb/buffer_fill.c | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git 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 ; }