diff options
Diffstat (limited to 'plugins/Dbx_mmap_SA')
-rw-r--r-- | plugins/Dbx_mmap_SA/Import_SA/miranda.cpp | 6 | ||||
-rw-r--r-- | plugins/Dbx_mmap_SA/commonheaders.h | 2 |
2 files changed, 2 insertions, 6 deletions
diff --git a/plugins/Dbx_mmap_SA/Import_SA/miranda.cpp b/plugins/Dbx_mmap_SA/Import_SA/miranda.cpp index 21ece87022..c0d56d1bf7 100644 --- a/plugins/Dbx_mmap_SA/Import_SA/miranda.cpp +++ b/plugins/Dbx_mmap_SA/Import_SA/miranda.cpp @@ -56,8 +56,6 @@ static HANDLE ImportContact(HANDLE hDbFile, struct DBContact Contact); static void ImportHistory(HANDLE hDbFile, struct DBContact Contact, PROTOCOLDESCRIPTOR **protocol, int protoCount);
static int ImportGroups(HANDLE hDbFile, struct DBHeader *pdbHeader);
-#define NEWSTR_ALLOCA(A) (A==NULL)?NULL:strcpy((char*)alloca(strlen(A)+1),A)
-
// Comment: The Find* functions only return a file offset.
// The Get* functions actually reads the requested
// data from the file and gives you a pointer to a structure
@@ -529,7 +527,7 @@ int CheckFileFormat(HANDLE hDbFile) AddMessage(LPGEN("Secured MMAP: authorization successful"));
bEncrypted = TRUE;
}
- else
+ else
{
AddMessage(LPGEN("You are not authorized for access to Database"));
return DB_INVALID;
@@ -1046,7 +1044,7 @@ int ImportGroups(HANDLE hDbFile, struct DBHeader* pdbHeader) pSetting = GetNextSetting(pSetting);
}
free(pDbSettings);
-
+
/*if (bEncrypted)
EncodeMemory(pDbSettings->blob, pDbSettings->cbBlob);*/
}
diff --git a/plugins/Dbx_mmap_SA/commonheaders.h b/plugins/Dbx_mmap_SA/commonheaders.h index 2fb92e5399..b4c913a694 100644 --- a/plugins/Dbx_mmap_SA/commonheaders.h +++ b/plugins/Dbx_mmap_SA/commonheaders.h @@ -98,8 +98,6 @@ BOOL CALLBACK DlgStdNewPass(HWND hDlg, UINT uMsg,WPARAM wParam,LPARAM lParam); BOOL CALLBACK DlgChangePass(HWND hDlg, UINT uMsg,WPARAM wParam,LPARAM lParam);
void xModifyMenu(HANDLE hMenu,long flags,const TCHAR* name, HICON hIcon);
-#define NEWSTR_ALLOCA(A) (A==NULL)?NULL:strcpy((char*)alloca(strlen(A)+1),A)
-
typedef struct{
void* (__stdcall *GenerateKey)(char* pwd);
void (__stdcall *FreeKey)(void* key);
|