Fix some typo

This commit is contained in:
Aoran Zeng 2023-08-30 20:06:28 +08:00
parent ee55dce25f
commit cbb95678c1
3 changed files with 7 additions and 12 deletions

View File

@ -182,8 +182,7 @@ static const char const
**os_packagers[] = {
os_ubuntu
};
// static const char const
// *os_ubuntu[] = {"ubuntu", NULL, cmdfunc(os_ubuntu_chsrc)};
#undef chsrcfunc
static const char const*

View File

@ -30,12 +30,12 @@ mirror_info
Pku = {"PKU", "北京大学开源镜像站"},
Bjtu = {"BJTU", "北京交通大学自由与开源软件镜像站"},
Sustech = {"SUSTech", "南方科技大学开源软件镜像站"},
Ustc = {"USTC", "中国科学技术大学开源镜像站"},
Ustc = {"USTC", "中国科学技术大学开源镜像站"};
// 大型公司
mirror_info
Ali = {"Ali OPSX", "阿里巴巴开源镜像站"},
Tencent = {"Tencent", "腾讯软件源"};
Tencent = {"Tencent", "腾讯软件源"},
Netease = {"Netease", "网易开源镜像站"},
Sohu = {"SOHU", "搜狐开源镜像站"};
@ -83,7 +83,7 @@ os_ubuntu_sources[] = {
{&Ustc, "https://mirrors.ustc.edu.cn/ubuntu/"},
{&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/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/"},
};

View File

@ -98,13 +98,9 @@ xy_log (int level, const char* str)
#define xy_error(str) xy_log (XY_ERROR, str)
/*
*
*
*
*
*
* */
/**
*
*/
static char*
xy_strch (const char* str, char src,const char* dest)
{