mirror of
https://github.com/RubyMetric/chsrc
synced 2025-12-26 04:19:47 +08:00
Rename inner function
This commit is contained in:
@@ -36,9 +36,7 @@ pl_lua_getsrc (char *option)
|
||||
void
|
||||
pl_lua_setsrc (char *option)
|
||||
{
|
||||
SourceInfo source;
|
||||
chsrc_yield_source (pl_lua);
|
||||
chsrc_confirm_source (&source);
|
||||
chsrc_yield_source_and_confirm (pl_lua);
|
||||
|
||||
char *config = xy_strjoin (3, "rocks_servers = {\n"
|
||||
" \"", source.url, "\"\n"
|
||||
@@ -53,7 +51,7 @@ pl_lua_setsrc (char *option)
|
||||
chsrc_note2 ("请手动修改 ~/.luarocks/upload_config.lua 文件 (用于上传):");
|
||||
puts (upload_config);
|
||||
|
||||
chsrc_say_lastly (&source, ChsrcTypeManual);
|
||||
chsrc_conclude (&source, ChsrcTypeManual);
|
||||
}
|
||||
|
||||
def_target(pl_lua);
|
||||
|
||||
Reference in New Issue
Block a user