Update field

This commit is contained in:
Aoran Zeng 2024-09-29 12:04:33 +08:00
parent 35c1a5be18
commit e29eedea2c
No known key found for this signature in database
GPG Key ID: 8F8BA8488E10ED98
2 changed files with 3 additions and 3 deletions

View File

@ -16,10 +16,10 @@ typedef struct MirrorSite_t {
const char *abbr; // 需要使用镜像站的英文名时,用这个代替,因为大部分镜像站没有提供正式的英文名
const char *name; // 镜像站中文名
const char *site;
const char *__bigfile_url; // 用于对该镜像站测速
const char *bigfile_url; // 用于对该镜像站测速
} MirrorSite;
// #define Big_File_ubuntu "/indices/md5sums.gz" 这个是错的
#define Big_File_ubuntu "/indices/md5sums.gz" 这个是错的
#define Big_File_ctan "/systems/texlive/Images/texlive.iso" // 4.8GB
#define Big_File_debian "/ls-lR.gz" // 13.9MB
#define Big_File_archlinux "/iso/latest/archlinux-x86_64.iso" // 800MB 左右

View File

@ -546,7 +546,7 @@ measure_speed_for_every_source (SourceInfo sources[], int size, double speed_rec
for (int i=0; i<size; i++)
{
SourceInfo src = sources[i];
const char *url = src.mirror->__bigfile_url;
const char *url = src.mirror->bigfile_url;
if (NULL==url)
{
if (xy_streql ("upstream", src.mirror->code))