mirror of
https://github.com/RubyMetric/chsrc
synced 2025-06-09 04:16:21 +08:00
Return the second source
This commit is contained in:
parent
739740b8a9
commit
b2cba6ca27
@ -81,7 +81,7 @@ query_mirror_exist (SourceInfo *sources, size_t size, char *target, char *input)
|
|||||||
if (xy_streql ("first", input))
|
if (xy_streql ("first", input))
|
||||||
{
|
{
|
||||||
puts ("使用维护团队测速第一的源");
|
puts ("使用维护团队测速第一的源");
|
||||||
return 0;
|
return 1; // 返回第二个,因为第一个是上游默认源
|
||||||
}
|
}
|
||||||
|
|
||||||
int idx = 0;
|
int idx = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user