bss_dgram.c: fix typos in Windows code.

This commit is contained in:
Andy Polyakov 2012-07-01 09:12:23 +00:00
parent 4887e07819
commit e9c563fc29

View file

@ -199,7 +199,7 @@ static void dgram_adjust_rcv_timeout(BIO *b)
sz.i = sizeof(timeout);
if (getsockopt(b->num, SOL_SOCKET, SO_RCVTIMEO,
(void*)&timeout, &sz) < 0)
(void*)&timeout, &sz.i) < 0)
{ perror("getsockopt"); }
else
{
@ -669,7 +669,7 @@ static long dgram_ctrl(BIO *b, int cmd, long num, void *ptr)
sz.i = sizeof(timeout);
if (getsockopt(b->num, SOL_SOCKET, SO_RCVTIMEO,
(void*)&timeout, &sz) < 0)
(void*)&timeout, &sz.i) < 0)
{ perror("getsockopt"); ret = -1; }
else
{
@ -718,7 +718,7 @@ static long dgram_ctrl(BIO *b, int cmd, long num, void *ptr)
sz.i = sizeof(timeout);
if (getsockopt(b->num, SOL_SOCKET, SO_SNDTIMEO,
(void*)&timeout, &sz) < 0)
(void*)&timeout, &sz.i) < 0)
{ perror("getsockopt"); ret = -1; }
else
{