瀏覽代碼

Merge pull request #28 from ucloud/bugfix_remove_filename

bugfix remove file name
ethanDu1 5 年之前
父節點
當前提交
1f94de4c3d
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      uiot/ota/src/ota_client.c

+ 0 - 1
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;