https://git.reactos.org/?p=reactos.git;a=commitdiff;h=3f0ba492ad3fc6720c5e0…
commit 3f0ba492ad3fc6720c5e0863677f467816aaaca3
Author: Serge Gautherie <reactos-git_serge_171003(a)gautherie.fr>
AuthorDate: Thu Oct 17 02:39:30 2019 +0200
Commit: Pierre Schweitzer <pierre(a)reactos.org>
CommitDate: Thu Oct 17 08:18:43 2019 +0200
[MSAFD] WSPSetSockOpt(): Fix a copypasta
Addendum to 6bc61f63f1e0ad20ab09f881d6968558eba9a8e6.
CORE-15804
---
dll/win32/msafd/misc/dllmain.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dll/win32/msafd/misc/dllmain.c b/dll/win32/msafd/misc/dllmain.c
index abb184f8e34..4f01f6f2883 100644
--- a/dll/win32/msafd/misc/dllmain.c
+++ b/dll/win32/msafd/misc/dllmain.c
@@ -2900,7 +2900,7 @@ WSPSetSockOpt(
GetSocketInformation(Socket,
AFD_INFO_RECEIVE_WINDOW_SIZE,
NULL,
- &Socket->SharedData->SizeOfSendBuffer,
+ &Socket->SharedData->SizeOfRecvBuffer,
NULL,
NULL,
NULL);