fixed check for tempdirs

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@815 152afb58-edef-0310-8abb-c4023f1b3aa9
svn/tags/lighttpd-1.4.7 lighttpd-1.4.7
Jan Kneschke 18 years ago
parent fa804343ca
commit c3f45ae6dd

@ -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 */

Loading…
Cancel
Save