goto done;
}
- if (al == true)
+ if (al)
uci_load(ctx, name, &p);
- else if (al) {
- uci_load(ctx, name, &p);
- }
done:
if (name != str)
ctx = find_context(L, &offset);
package = luaL_checkstring(L, 1 + offset);
- if (lua_isnil(L, 2))
+ if (lua_isnil(L, 2 + offset))
type = NULL;
else
type = luaL_checkstring(L, 2 + offset);