重命名为 chef_set_user_agent()

[GitHub #278]
This commit is contained in:
Aoran Zeng
2025-08-27 11:06:53 +08:00
parent 58ef09fadd
commit b309c46a4c
3 changed files with 17 additions and 8 deletions

View File

@@ -1112,11 +1112,6 @@ chsrc_determine_chgtype (ChgType_t type)
ProgStatus.chgtype = chsrc_in_reset_mode() ? ChgType_Reset : type;
}
void
chsrc_custom_user_agent (char *user_agent)
{
ProgStatus.user_agent = user_agent;
}
#define MSG_EN_PUBLIC_URL "If the URL you specify is a public service, you are invited to contribute: chsrc issue"
#define MSG_CN_PUBLIC_URL "若您指定的URL为公有服务邀您参与贡献: chsrc issue"