summaryrefslogtreecommitdiffstats
path: root/buf.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2019-02-16 09:35:38 -0800
committerKaz Kylheku <kaz@kylheku.com>2019-02-16 09:35:38 -0800
commita6c72d88711c2fc537c6f8ca205a5fd2675d8952 (patch)
treebdb0c8686a2dee670ee9f6d5ce4063eff12046bc /buf.c
parenteb087dd466c11ea7526bef86be6874a038824ae6 (diff)
downloadtxr-a6c72d88711c2fc537c6f8ca205a5fd2675d8952.tar.gz
txr-a6c72d88711c2fc537c6f8ca205a5fd2675d8952.tar.bz2
txr-a6c72d88711c2fc537c6f8ca205a5fd2675d8952.zip
buf: fix wrong function name string.
* buf.c (length_buf): Replace incorrect name.
Diffstat (limited to 'buf.c')
-rw-r--r--buf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/buf.c b/buf.c
index c3cbfa76..a5d3abc6 100644
--- a/buf.c
+++ b/buf.c
@@ -215,7 +215,7 @@ val buf_set_length(val buf, val len, val init_val)
val length_buf(val buf)
{
- val self = lit("buf-set-len");
+ val self = lit("length-buf");
struct buf *b = buf_handle(buf, self);
return b->len;
}