Fix lua struct stat export

personal/stbuehler/wip
Stefan Bühler 13 years ago
parent 4e6e5e54c5
commit 6fcfd96b53
  1. 2
      src/main/stat_lua.c

@ -28,7 +28,7 @@ static int lua_stat_attr_read_is_file(struct stat *st, lua_State *L) {
}
static int lua_stat_attr_read_is_dir(struct stat *st, lua_State *L) {
lua_pushboolean(L, S_ISREG(st->st_mode));
lua_pushboolean(L, S_ISDIR(st->st_mode));
return 1;
}

Loading…
Cancel
Save