chiark
/
gitweb
/
~mdw
/
catacomb-python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b1672c
)
buffer.c: Fix typoed variable name in `assert'.
author
Mark Wooding
<mdw@distorted.org.uk>
Fri, 14 Jul 2017 22:13:56 +0000
(23:13 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Sat, 19 Oct 2019 16:14:58 +0000
(17:14 +0100)
Evidently I've never actually compiled this code with the assertions
turned on before.
(cherry picked from commit
a11849068dd55f5997365984cce759c0f2d7caeb
)
buffer.c
patch
|
blob
|
blame
|
history
diff --git
a/buffer.c
b/buffer.c
index 65695162e814f3b13cc31e129f1a9853945b0521..7e1744961ba36fa24ecf014743965f237cb9d824 100644
(file)
--- a/
buffer.c
+++ b/
buffer.c
@@
-390,7
+390,7
@@
static PyObject *wbmeth_put(PyObject *me, PyObject *arg)
int n;
if (!PyArg_ParseTuple(arg, "s#:put", &p, &n)) return (0);
ensure(me, n);
- buf_put(BUF_B(me), p, n); assert(BOK(BUF_B(m)));
+ buf_put(BUF_B(me), p, n); assert(BOK(BUF_B(m
e
)));
RETURN_ME;
}