From cc2454c803eb6b96add654fbd99f616217056396 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Fri, 15 May 2015 06:14:17 +0000 Subject: fixed buffer overrun git-svn-id: http://svn.miranda-ng.org/main/trunk@13600 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/FileAsMessage/src/dialog.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'plugins/FileAsMessage/src/dialog.h') diff --git a/plugins/FileAsMessage/src/dialog.h b/plugins/FileAsMessage/src/dialog.h index 962781b661..10f110bf37 100644 --- a/plugins/FileAsMessage/src/dialog.h +++ b/plugins/FileAsMessage/src/dialog.h @@ -2,12 +2,12 @@ extern HINSTANCE hInst; int getMsgId(char *msg); -INT_PTR CALLBACK DialogProc(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam ); +INT_PTR CALLBACK DialogProc(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam); #ifdef _DEBUG - #define CHECKPOINT +#define CHECKPOINT #else - #define CHECKPOINT error +#define CHECKPOINT error #endif #define TIMER_SEND 100 @@ -20,13 +20,13 @@ enum CMD_REQ, CMD_ACCEPT, CMD_CANCEL, - + CMD_NEXT, - + CMD_DATA, CMD_DACK, CMD_END, - + CMD_COUNT }; @@ -95,13 +95,13 @@ public: void setState(DWORD state); void updateProgress(); void updateTitle(); - + void perform(char *str); void cmdACCEPT(); void cmdDACK(char *data); void sendReq(); int sendCmd(int id, int cmd, char *szParam, char *szPrefix = NULL); - + void cmdDATA(char *data); void cmdEND(); @@ -111,7 +111,7 @@ public: void onSendTimer(); void onRecvTimer(); void incomeRequest(char *data); - + }; void InitCRC32(); -- cgit v1.2.3