summaryrefslogtreecommitdiff
path: root/src/chunk.c
diff options
context:
space:
mode:
authorKrzysztof Krzyżaniak <eloy@debian.org>2009-03-18 10:20:09 +0000
committerKrzysztof Krzyżaniak <eloy@debian.org>2009-03-18 10:20:09 +0000
commitba7de25b4464c5bdc25e2c559c3760f19e2b240a (patch)
treeb49c5aa3b3ac6be16de774f8ae502c21ae7b0626 /src/chunk.c
parentfd9cddc7b9d8062a6f8ba4b506c41a86ff22e2df (diff)
downloadlighttpd-ba7de25b4464c5bdc25e2c559c3760f19e2b240a.tar.gz
new upstream version
Diffstat (limited to 'src/chunk.c')
-rw-r--r--src/chunk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chunk.c b/src/chunk.c
index f5ec564..6eb45c3 100644
--- a/src/chunk.c
+++ b/src/chunk.c
@@ -296,7 +296,7 @@ chunk *chunkqueue_get_append_tempfile(chunkqueue *cq) {
buffer_copy_string_buffer(template, ds->value);
BUFFER_APPEND_SLASH(template);
- BUFFER_APPEND_STRING_CONST(template, "lighttpd-upload-XXXXXX");
+ buffer_append_string_len(template, CONST_STR_LEN("lighttpd-upload-XXXXXX"));
if (-1 != (c->file.fd = mkstemp(template->ptr))) {
/* only trigger the unlink if we created the temp-file successfully */