2
0
Fork 0

[lua]: chunkqueue: fix file<->tempfile handling

personal/stbuehler/wip
Stefan Bühler 2010-03-03 16:27:11 +01:00
parent 25222e9b1c
commit 053739a46d
1 changed files with 2 additions and 2 deletions

View File

@ -195,9 +195,9 @@ static int _lua_chunkqueue_add_file(lua_State *L, gboolean tempfile) {
}
if (tempfile) {
li_chunkqueue_append_file_fd(cq, NULL, start, length, fd);
} else {
li_chunkqueue_append_tempfile_fd(cq, g_string_new_len(filename, len), start, length, fd);
} else {
li_chunkqueue_append_file_fd(cq, NULL, start, length, fd);
}
return 0;