Author: akhaldi
Date: Tue Nov 3 21:54:00 2015
New Revision: 69805
URL:
http://svn.reactos.org/svn/reactos?rev=69805&view=rev
Log:
[WS2_32_NEW] Fix ProtocolInfo allocation size. By Peter Hater. CORE-10440
Modified:
trunk/reactos/dll/win32/ws2_32_new/src/dthread.c
Modified: trunk/reactos/dll/win32/ws2_32_new/src/dthread.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/ws2_32_new/src/d…
==============================================================================
--- trunk/reactos/dll/win32/ws2_32_new/src/dthread.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/ws2_32_new/src/dthread.c [iso-8859-1] Tue Nov 3 21:54:00
2015
@@ -123,7 +123,7 @@
if (!Thread->ProtocolInfo)
{
/* We don't have a buffer; allocate it */
- Thread->ProtocolInfo = HeapAlloc(WsSockHeap, 0, sizeof(PWSPROTO_BUFFER));
+ Thread->ProtocolInfo = HeapAlloc(WsSockHeap, 0, sizeof(WSPROTO_BUFFER));
}
/* Return it */