wininet: Fixed compilation without SSL.

This commit is contained in:
Alexandre Julliard 2007-05-29 23:27:08 +02:00
parent 172a35c442
commit 1ada7ba20e
1 changed files with 5 additions and 4 deletions

View File

@ -582,10 +582,11 @@ BOOL NETCON_query_data_available(WININET_NETCONNECTION *connection, DWORD *avail
if (!NETCON_connected(connection))
return FALSE;
if (connection->peek_msg)
*available = connection->peek_len;
else
*available = 0;
*available = 0;
#if defined HAVE_OPENSSL_SSL_H
if (connection->peek_msg) *available = connection->peek_len;
#endif
#ifdef FIONREAD
if (!connection->useSSL)
{