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

personal/stbuehler/wip
Stefan Bühler 13 years ago
parent 25222e9b1c
commit 053739a46d
  1. 4
      src/main/chunk_lua.c

@ -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;

Loading…
Cancel
Save