summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2017-11-21 11:11:01 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2017-11-21 11:11:01 +0000
commitf2d0cf53023f42852aaf61c1a6b12789b4286aa2 (patch)
tree98e7dd3d7ee16d2986c74c9c448d86eb0e863f62 /src/include
parentc7fcb102c9f84ec1c4e69bbe4e2fa5ceb0ea0564 (diff)
downloadskalibs-f2d0cf53023f42852aaf61c1a6b12789b4286aa2.tar.xz
buffer_rpeek declaration clarification
Diffstat (limited to 'src/include')
-rw-r--r--src/include/skalibs/buffer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/skalibs/buffer.h b/src/include/skalibs/buffer.h
index a118a6d..3928689 100644
--- 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)