From 279907d8f86614e0e4d1fee08f157474a1ddb0ba Mon Sep 17 00:00:00 2001 From: payton Date: Mon, 11 Dec 2023 15:56:09 +0800 Subject: [PATCH] =?UTF-8?q?1.dp=E7=94=9F=E6=88=90=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- code/application/source/sf_app/code/source/fileMng/sf_file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/application/source/sf_app/code/source/fileMng/sf_file.c b/code/application/source/sf_app/code/source/fileMng/sf_file.c index f5d47b4fa..7492e3f82 100755 --- a/code/application/source/sf_app/code/source/fileMng/sf_file.c +++ b/code/application/source/sf_app/code/source/fileMng/sf_file.c @@ -1198,7 +1198,7 @@ UINT32 sf_create_dailyreport_file(void) sprintf(str, "OFF#"); SF_STRCAT(cfgTmp, (const char *)str); - if(pPara->FtpSwitch) + if(1 != pPara->FtpSwitch) sprintf(str, "ON#"); else sprintf(str, "OFF#");