summaryrefslogtreecommitdiff
path: root/src/chunk.c
diff options
context:
space:
mode:
authorKrzysztof Krzyżaniak <eloy@debian.org>2010-02-09 17:02:37 +0000
committerKrzysztof Krzyżaniak <eloy@debian.org>2010-02-09 17:02:37 +0000
commit07075b26c597dccb751ed9fbf4fc1f49893e526c (patch)
tree5c53d275b0427da4e696b042a798a72020992fa7 /src/chunk.c
parent3872fec0203db6f32ca3d45f22c0bec481dca85b (diff)
downloadlighttpd-07075b26c597dccb751ed9fbf4fc1f49893e526c.tar.gz
new upstream version
Diffstat (limited to 'src/chunk.c')
-rw-r--r--src/chunk.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/chunk.c b/src/chunk.c
index 0cc26da..7583db6 100644
--- a/src/chunk.c
+++ b/src/chunk.c
@@ -197,8 +197,6 @@ int chunkqueue_append_buffer(chunkqueue *cq, buffer *mem) {
int chunkqueue_append_buffer_weak(chunkqueue *cq, buffer *mem) {
chunk *c;
- if (mem->used == 0) return 0;
-
c = chunkqueue_get_unused_chunk(cq);
c->type = MEM_CHUNK;
c->offset = 0;