Sfoglia il codice sorgente

Z991239-1475 #comment 删除dep下图片

ITC\80296915 4 anni fa
parent
commit
3399844055
1 ha cambiato i file con 1 aggiunte e 2 eliminazioni
  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))
 		{