ProcessLock->lock();
// Get the ETag.
-
- //IterwxS = FilenameETag.find(Filename);
-
+
if (FilenameETag.find(Filename) != FilenameETag.end()){
IterwxS = FilenameETag.find(Filename);
// Get the ETag.
- //IterwxS = FilenameETag.find(Filename);
-
if (FilenameETagOriginal.find(Filename) != FilenameETagOriginal.end()){
IterwxS = FilenameETagOriginal.find(Filename);
if (wxFileExists(AccountETagDB) == FALSE){
if (ETagDBFile.Create(AccountETagDB) == FALSE){
- ////ProcessLock.unlock();
+
return FALSE;
}
} else {
if (ETagDBFile.Open(AccountETagDB) == FALSE){
- ////ProcessLock.unlock();
+
return FALSE;
}
wxString AccountDirPath;
#if defined(__HAIKU__)
-
- //preffilename = wxT("noo");
-
+
#elif defined(__WIN32__)
AccountDirPath = GetAccountDir(AccountDir, FALSE);
if (wxFileExists(AccountETagDB) == FALSE){
if (ETagDBFile.Create(AccountETagDB) == FALSE){
- ////ProcessLock.unlock();
- //ProcessLock->unlock();
return FALSE;
if (ETagDBFile.Open(AccountETagDB, wxConvUTF8) == FALSE){
- ////ProcessLock.unlock();
- //ProcessLock->unlock();
return FALSE;
}