mirror of
https://github.com/RubyMetric/chsrc
synced 2025-06-08 19:54:13 +08:00
Fix some typo
This commit is contained in:
parent
ee55dce25f
commit
cbb95678c1
3
chsrc.c
3
chsrc.c
@ -182,8 +182,7 @@ static const char const
|
|||||||
**os_packagers[] = {
|
**os_packagers[] = {
|
||||||
os_ubuntu
|
os_ubuntu
|
||||||
};
|
};
|
||||||
// static const char const
|
|
||||||
// *os_ubuntu[] = {"ubuntu", NULL, cmdfunc(os_ubuntu_chsrc)};
|
|
||||||
#undef chsrcfunc
|
#undef chsrcfunc
|
||||||
|
|
||||||
static const char const*
|
static const char const*
|
||||||
|
6
chsrc.h
6
chsrc.h
@ -30,12 +30,12 @@ mirror_info
|
|||||||
Pku = {"PKU", "北京大学开源镜像站"},
|
Pku = {"PKU", "北京大学开源镜像站"},
|
||||||
Bjtu = {"BJTU", "北京交通大学自由与开源软件镜像站"},
|
Bjtu = {"BJTU", "北京交通大学自由与开源软件镜像站"},
|
||||||
Sustech = {"SUSTech", "南方科技大学开源软件镜像站"},
|
Sustech = {"SUSTech", "南方科技大学开源软件镜像站"},
|
||||||
Ustc = {"USTC", "中国科学技术大学开源镜像站"},
|
Ustc = {"USTC", "中国科学技术大学开源镜像站"};
|
||||||
|
|
||||||
// 大型公司
|
// 大型公司
|
||||||
mirror_info
|
mirror_info
|
||||||
Ali = {"Ali OPSX", "阿里巴巴开源镜像站"},
|
Ali = {"Ali OPSX", "阿里巴巴开源镜像站"},
|
||||||
Tencent = {"Tencent", "腾讯软件源"};
|
Tencent = {"Tencent", "腾讯软件源"},
|
||||||
Netease = {"Netease", "网易开源镜像站"},
|
Netease = {"Netease", "网易开源镜像站"},
|
||||||
Sohu = {"SOHU", "搜狐开源镜像站"};
|
Sohu = {"SOHU", "搜狐开源镜像站"};
|
||||||
|
|
||||||
@ -83,7 +83,7 @@ os_ubuntu_sources[] = {
|
|||||||
{&Ustc, "https://mirrors.ustc.edu.cn/ubuntu/"},
|
{&Ustc, "https://mirrors.ustc.edu.cn/ubuntu/"},
|
||||||
{&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/ubuntu/"},
|
{&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/ubuntu/"},
|
||||||
{&Tencent, "https://mirrors.tencent.com/ubuntu/"},
|
{&Tencent, "https://mirrors.tencent.com/ubuntu/"},
|
||||||
{&Wy, "https://mirrors.163.com/ubuntu/"},
|
{&Netease, "https://mirrors.163.com/ubuntu/"},
|
||||||
{&Sohu, "https://mirrors.sohu.com/ubuntu/"},
|
{&Sohu, "https://mirrors.sohu.com/ubuntu/"},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
8
helper.h
8
helper.h
@ -98,13 +98,9 @@ xy_log (int level, const char* str)
|
|||||||
#define xy_error(str) xy_log (XY_ERROR, str)
|
#define xy_error(str) xy_log (XY_ERROR, str)
|
||||||
|
|
||||||
|
|
||||||
/*
|
/**
|
||||||
*
|
*
|
||||||
*
|
*/
|
||||||
*
|
|
||||||
*
|
|
||||||
*
|
|
||||||
* */
|
|
||||||
static char*
|
static char*
|
||||||
xy_strch (const char* str, char src,const char* dest)
|
xy_strch (const char* str, char src,const char* dest)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user