OSDN Git Service
(root)
/
ffftp
/
ffftp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix bugs of receiving data on Windows 2000.
[ffftp/ffftp.git]
/
main.c
diff --git
a/main.c
b/main.c
index
ad6e890
..
970c3dd
100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-832,6
+832,10
@@
static LRESULT CALLBACK FtpWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARA
switch (message)
\r
{
\r
case WM_COMMAND :
\r
+ // 同時接続対応
\r
+ // 中断後に受信バッファに応答が残っていると次のコマンドの応答が正しく処理できない
\r
+ if(CancelFlg == YES)
\r
+ RemoveReceivedData(AskCmdCtrlSkt());
\r
switch(LOWORD(wParam))
\r
{
\r
case MENU_CONNECT :
\r