From b11878fd0a6b0e28ce306de2d1821cd87c870a3a Mon Sep 17 00:00:00 2001 From: estkme <145633413+estkme@users.noreply.github.com> Date: Sat, 17 Aug 2024 15:14:37 +0800 Subject: [PATCH] typo --- euicc/es8p.c | 2 +- euicc/es8p.h | 2 +- src/applet/profile/download.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/euicc/es8p.c b/euicc/es8p.c index 3c01dea..ce05650 100644 --- a/euicc/es8p.c +++ b/euicc/es8p.c @@ -10,7 +10,7 @@ #include "hexutil.h" #include "base64.h" -int es8p_meatadata_parse(struct es8p_metadata **stru_metadata, const char *b64_Metadata) +int es8p_metadata_parse(struct es8p_metadata **stru_metadata, const char *b64_Metadata) { int ret; uint8_t *metadata = NULL; diff --git a/euicc/es8p.h b/euicc/es8p.h index 6043c09..b24a348 100644 --- a/euicc/es8p.h +++ b/euicc/es8p.h @@ -28,5 +28,5 @@ struct es8p_metadata char **profilePolicyRules; }; -int es8p_meatadata_parse(struct es8p_metadata **metadata, const char *b64_Metadata); +int es8p_metadata_parse(struct es8p_metadata **metadata, const char *b64_Metadata); void es8p_metadata_free(struct es8p_metadata **stru_metadata); diff --git a/src/applet/profile/download.c b/src/applet/profile/download.c index e039727..58f85b1 100644 --- a/src/applet/profile/download.c +++ b/src/applet/profile/download.c @@ -202,7 +202,7 @@ static int applet_main(int argc, char **argv) // preview here if (euicc_ctx.http._internal.prepare_download_param->b64_profileMetadata) { - if (BREAKABLE(es8p_meatadata_parse(&profile_metadata, euicc_ctx.http._internal.prepare_download_param->b64_profileMetadata))) + if (BREAKABLE(es8p_metadata_parse(&profile_metadata, euicc_ctx.http._internal.prepare_download_param->b64_profileMetadata))) { error_function_name = "es8p_meatadata_parse"; error_detail = NULL;