[lua]: provide filename to chunkfile for add_temp_file (needed to unlink it)

personal/stbuehler/wip
Stefan Bühler 13 years ago
parent 405c6b26f4
commit a31b3ee403
  1. 2
      src/main/chunk_lua.c

@ -197,7 +197,7 @@ 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, NULL, start, length, fd);
li_chunkqueue_append_tempfile_fd(cq, g_string_new_len(filename, len), start, length, fd);
}
return 0;

Loading…
Cancel
Save