diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2014-12-20 12:34:14 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2014-12-20 12:34:14 +0000 |
commit | 0d82edd9f8bebb396a9154d4e1003340dbf6b967 (patch) | |
tree | 0659c834f387f3504944a610ed6858b9e268e6c7 /src/libstddjb/buffer_getall.c | |
parent | 2436785702b47996e9f0e281df0d6027660ec914 (diff) | |
download | skalibs-0d82edd9f8bebb396a9154d4e1003340dbf6b967.tar.xz |
Lots of cosmetic fixes.
sha256 documented.
Diffstat (limited to 'src/libstddjb/buffer_getall.c')
-rw-r--r-- | src/libstddjb/buffer_getall.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstddjb/buffer_getall.c b/src/libstddjb/buffer_getall.c index 34db9df..4f1490b 100644 --- a/src/libstddjb/buffer_getall.c +++ b/src/libstddjb/buffer_getall.c @@ -4,7 +4,7 @@ #include <skalibs/allreadwrite.h> #include <skalibs/buffer.h> -int buffer_getall (buffer_ref b, char *buf, unsigned int len, unsigned int *w) +int buffer_getall (buffer *b, char *buf, unsigned int len, unsigned int *w) { if (*w > len) return (errno = EINVAL, -1) ; *w += buffer_getnofill(b, buf + *w, len - *w) ; |