wininet: Fixed compilation without SSL.
This commit is contained in:
parent
172a35c442
commit
1ada7ba20e
|
@ -582,10 +582,11 @@ BOOL NETCON_query_data_available(WININET_NETCONNECTION *connection, DWORD *avail
|
||||||
if (!NETCON_connected(connection))
|
if (!NETCON_connected(connection))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
if (connection->peek_msg)
|
*available = 0;
|
||||||
*available = connection->peek_len;
|
#if defined HAVE_OPENSSL_SSL_H
|
||||||
else
|
if (connection->peek_msg) *available = connection->peek_len;
|
||||||
*available = 0;
|
#endif
|
||||||
|
|
||||||
#ifdef FIONREAD
|
#ifdef FIONREAD
|
||||||
if (!connection->useSSL)
|
if (!connection->useSSL)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue