diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2015-05-15 06:14:17 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2015-05-15 06:14:17 +0000 |
commit | cc2454c803eb6b96add654fbd99f616217056396 (patch) | |
tree | 31d12ba065f57c5c195cfd962243180ec9c01ff9 /plugins/FileAsMessage/src/dialog.h | |
parent | b1571e501505713f1ee2aa8fed181268286d8a1d (diff) |
fixed buffer overrun
git-svn-id: http://svn.miranda-ng.org/main/trunk@13600 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/FileAsMessage/src/dialog.h')
-rw-r--r-- | plugins/FileAsMessage/src/dialog.h | 18 |
1 files changed, 9 insertions, 9 deletions
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();
|