commit f2d0cf53023f42852aaf61c1a6b12789b4286aa2
parent c7fcb102c9f84ec1c4e69bbe4e2fa5ceb0ea0564
Author: Laurent Bercot <ska-skaware@skarnet.org>
Date: Tue, 21 Nov 2017 11:11:01 +0000
buffer_rpeek declaration clarification
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/include/skalibs/buffer.h b/src/include/skalibs/buffer.h
@@ -84,7 +84,7 @@ extern ssize_t buffer_get (buffer *, char *, size_t) ;
extern ssize_t buffer_getv (buffer *, struct iovec const *, unsigned int) ;
#define buffer_unget(b, n) cbuffer_unget(&(b)->c, n)
-#define buffer_rpeek(b, n) cbuffer_rpeek(&(b)->c, n)
+#define buffer_rpeek(b, v) cbuffer_rpeek(&(b)->c, v)
#define buffer_rseek(b, n) cbuffer_rseek(&(b)->c, n)