Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 382fb6a

Browse files
committed
Attempt to unbreak windows builds broken by commit 754baa2.
1 parent acf4740 commit 382fb6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/libpq/pqcomm.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -663,7 +663,7 @@ StreamConnection(pgsocket server_fd, Port *port)
663663
* This is a Win32 socket optimization. The ideal size is 32k.
664664
* http://support.microsoft.com/kb/823764/EN-US/
665665
*/
666-
on = PQ_BUFFER_SIZE * 4;
666+
on = PQ_SEND_BUFFER_SIZE * 4;
667667
if (setsockopt(port->sock, SOL_SOCKET, SO_SNDBUF, (char *) &on,
668668
sizeof(on)) < 0)
669669
{

0 commit comments

Comments
 (0)