xaizek / vifm (License: GPLv2+) (since 2018-12-07)
Vifm is a file manager with curses interface, which provides Vi[m]-like environment for managing objects within file systems, extended with some useful ideas from mutt.
Commit 8641868913bcfdf5bb5b96594330eb8087269068

Fix indentation of vlua_state_proxy_call()'s body
Author: xaizek
Author date (UTC): 2022-03-17 12:09
Committer name: xaizek
Committer date (UTC): 2022-03-17 12:09
Parent(s): 68cb1ec84d755564fc49ad2cac1c5d7453d923fe
Signing key: 99DC5E4DB05F6BE2
Tree: ae8bd0aacb136411e5a68c8023618832489d0856
File Lines added Lines deleted
src/lua/vlua_state.c 6 6
File src/lua/vlua_state.c changed (mode: 100644) (index 4e5441f31..e3c0d00e9)
... ... vlua_state_safe_mode_set(lua_State *lua, int safe_mode)
155 155 int int
156 156 vlua_state_proxy_call(lua_State *lua, int (*call)(lua_State *lua)) vlua_state_proxy_call(lua_State *lua, int (*call)(lua_State *lua))
157 157 { {
158 if(get_state(lua)->is_safe_mode_on)
159 {
160 return luaL_error(lua, "%s",
161 "Unsafe functions can't be called in this environment!");
162 }
163 return call(lua);
158 if(get_state(lua)->is_safe_mode_on)
159 {
160 return luaL_error(lua, "%s",
161 "Unsafe functions can't be called in this environment!");
162 }
163 return call(lua);
164 164 } }
165 165
166 166 /* vim: set tabstop=2 softtabstop=2 shiftwidth=2 noexpandtab cinoptions-=(0 : */ /* vim: set tabstop=2 softtabstop=2 shiftwidth=2 noexpandtab cinoptions-=(0 : */
Hints

Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://code.reversed.top/user/xaizek/vifm

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@code.reversed.top/user/xaizek/vifm

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a pull request:
... clone the repository ...
... make some changes and some commits ...
git push origin master