Home
last modified time | relevance | path

Searched refs:dst_c (Results 1 – 1 of 1) sorted by relevance

/lighttpd1.4/src/
H A Dchunk.c868 chunk *dst_c = dest->first; in chunkqueue_append_mem_to_tempfile() local
873 if (dst_c && dst_c->type == MEM_CHUNK in chunkqueue_append_mem_to_tempfile()
884 dst_c = chunkqueue_get_append_tempfile(dest, errh); in chunkqueue_append_mem_to_tempfile()
885 if (NULL == dst_c) in chunkqueue_append_mem_to_tempfile()
888 if (dst_c->file.fd < 0) return -1; in chunkqueue_append_mem_to_tempfile()
892 const ssize_t written =pwrite(dst_c->file.fd, mem, len, dst_c->file.length); in chunkqueue_append_mem_to_tempfile()
895 const ssize_t written = write(dst_c->file.fd, mem, len); in chunkqueue_append_mem_to_tempfile()
899 dst_c->file.length += len; in chunkqueue_append_mem_to_tempfile()
908 dst_c->file.length += (size_t)written; in chunkqueue_append_mem_to_tempfile()
910 } else if (!chunkqueue_append_tempfile_err(dest, errh, dst_c)) { in chunkqueue_append_mem_to_tempfile()