Commit 382fb6a0 authored by Andrew Dunstan's avatar Andrew Dunstan

Attempt to unbreak windows builds broken by commit 754baa21.

parent acf47401
...@@ -663,7 +663,7 @@ StreamConnection(pgsocket server_fd, Port *port) ...@@ -663,7 +663,7 @@ StreamConnection(pgsocket server_fd, Port *port)
* This is a Win32 socket optimization. The ideal size is 32k. * This is a Win32 socket optimization. The ideal size is 32k.
* http://support.microsoft.com/kb/823764/EN-US/ * http://support.microsoft.com/kb/823764/EN-US/
*/ */
on = PQ_BUFFER_SIZE * 4; on = PQ_SEND_BUFFER_SIZE * 4;
if (setsockopt(port->sock, SOL_SOCKET, SO_SNDBUF, (char *) &on, if (setsockopt(port->sock, SOL_SOCKET, SO_SNDBUF, (char *) &on,
sizeof(on)) < 0) sizeof(on)) < 0)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment