فهرست منبع

Z991239-1475 #comment 删除dep下图片

ITC\80296915 4 سال پیش
والد
کامیت
3399844055
1فایلهای تغییر یافته به همراه1 افزوده شده و 2 حذف شده
  1. 1 2
      Module/mod_IDCertificate/IDCertFSM.cpp

+ 1 - 2
Module/mod_IDCertificate/IDCertFSM.cpp

@@ -358,7 +358,6 @@ int CIDCertFSM::ReadInfo(SpReqAnsContext<IDCert_Read_Req, IDCert_Read_Ans>::Poin
 				}
 			}
 		}
-		Dbg("372");
 		bOpenRF = true;
 		Sleep(IDCER_AUTH_INTERVAL);
 		hr = m_hDevHelper->IDCerAuthenticate();
@@ -1053,7 +1052,7 @@ ErrorCodeEnum CIDCertFSM::DeleteFileIfExisted(LPCTSTR fileName)
 	ErrorCodeEnum erroCode = m_pEntity->GetFunction()->GetPath("Dep", strPath);
 	strAimPath = strPath + SPLIT_SLASH_STR + fileName;
 
-	if(ExistsDirA((LPCTSTR)strAimPath))
+	if(ExistsFileA((LPCTSTR)strAimPath))
 	{
 		if(RemoveFileA((LPCTSTR)strAimPath))
 		{