summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Kneschke <jan@kneschke.de>2005-11-02 12:38:53 +0000
committerJan Kneschke <jan@kneschke.de>2005-11-02 12:38:53 +0000
commitc3f45ae6dda4591351a1182c630f5564a9b2f285 (patch)
tree514d5bebc61e5115bf124253b9de3516f985d2f8
parentfa804343caca28cfcfc24935792f0bcfa3ef6bea (diff)
downloadlighttpd-git-c3f45ae6dda4591351a1182c630f5564a9b2f285.tar.gz
fixed check for tempdirs lighttpd-1.4.7
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@815 152afb58-edef-0310-8abb-c4023f1b3aa9
-rw-r--r--src/chunk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chunk.c b/src/chunk.c
index 82b0ebd1..3903428a 100644
--- a/src/chunk.c
+++ b/src/chunk.c
@@ -269,7 +269,7 @@ chunk *chunkqueue_get_append_tempfile(chunkqueue *cq) {
c->type = FILE_CHUNK;
c->offset = 0;
- if (cq->tempdirs) {
+ if (cq->tempdirs && cq->tempdirs->used) {
size_t i;
/* we have several tempdirs, only if all of them fail we jump out */