1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
|
Description: fix a FTBFS due to new apr > 1.3.x (bb is the bucket brigade)
Origin: http://www.modpython.org/pipermail/mod_python/2008-October/025724.html
Bug-Debian: http://bugs.debian.org/521965
--- a/src/connobject.c
+++ b/src/connobject.c
@@ -139,7 +139,7 @@ static PyObject * _conn_read(conn_rec *c
bytes_read = 0;
while ((bytes_read < len || len == 0) &&
- !(b == APR_BRIGADE_SENTINEL(b) ||
+ !(b == APR_BRIGADE_SENTINEL(bb) ||
APR_BUCKET_IS_EOS(b) || APR_BUCKET_IS_FLUSH(b))) {
const char *data;
|