From 4844e9ef0067142ac6440115c7db8cbb44c597fd Mon Sep 17 00:00:00 2001 From: "ethan.du" Date: Mon, 27 Apr 2020 10:22:06 +0800 Subject: [PATCH] bugfix remove file name --- uiot/ota/src/ota_client.c | 1 - 1 file changed, 1 deletion(-) diff --git a/uiot/ota/src/ota_client.c b/uiot/ota/src/ota_client.c index e17fea1..4b4fab4 100644 --- a/uiot/ota/src/ota_client.c +++ b/uiot/ota/src/ota_client.c @@ -325,7 +325,6 @@ void IOT_OTA_Clear(void *handle) { OTA_Struct_t *h_ota = (OTA_Struct_t *)handle; memset(h_ota->url, 0, strlen(h_ota->url)); - memset(h_ota->download_file_name, 0, strlen(h_ota->download_file_name)); memset(h_ota->version, 0, strlen(h_ota->version)); memset(h_ota->md5sum, 0, strlen(h_ota->md5sum)); h_ota->state = OTA_STATE_UNINITED;