2009-09-07 10:58 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)

* contrib/hbssl/hbssl.c
    ! Fixed wrong pointer references (reported by watcom).
      For some reason it wasn't fatal.
      (please review me)
This commit is contained in:
Viktor Szakats
2009-09-07 08:59:58 +00:00
parent 1c53b74ba0
commit 54875cb2be
2 changed files with 8 additions and 2 deletions

View File

@@ -17,6 +17,12 @@
past entries belonging to author(s): Viktor Szakats.
*/
2009-09-07 10:58 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbssl/hbssl.c
! Fixed wrong pointer references (reported by watcom).
For some reason it wasn't fatal.
(please review me)
2009-09-07 10:52 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/hbsocket.c
+ added support for setting non blocking IO mode in OpenWatcom OS2

View File

@@ -82,7 +82,7 @@ HB_FUNC( HB_SSL_READ_ALL )
if( SSL_pending( ssl ) ||
hb_socketSelectRead( ( HB_SOCKET ) SSL_get_fd( ssl ), iTimeout ) )
{
iLen = SSL_read( ssl, &buffer, 1 );
iLen = SSL_read( ssl, buffer, 1 );
if( iLen == SSL_ERROR_WANT_READ )
continue;
@@ -151,7 +151,7 @@ HB_FUNC( HB_SSL_READ_LINE )
if( SSL_pending( ssl ) ||
hb_socketSelectRead( ( HB_SOCKET ) SSL_get_fd( ssl ), iTimeout ) )
{
iLen = SSL_read( ssl, &buffer, 1 );
iLen = SSL_read( ssl, buffer, 1 );
if( iLen == SSL_ERROR_WANT_READ )
continue;