[Harbour] hbinet.c, hbtip bugs in 1.0

Lorenzo Fiorini lorenzo.fiorini at gmail.com
Fri Sep 5 06:05:01 EDT 2008


I've just found a bug in source/rtl/hbinet.c 1.0:

HB_FUNC( HB_INETGETSNDBUFSIZE )
{
...
      getsockopt( Socket->com, SOL_SOCKET, SO_SNDBUF, ( void * ) &value, &len );
#endif
      hb_retni( value );  <---- this seems missed
   }
}

In contrib/hbtip/tests/tiptest.prg "Retrieve" is missplelled as
"Retreive" in few comments, but
in contrib/hbtip/popcln.prg is missplelled the call of a method:

METHOD Read( nLen ) CLASS tIPClientPOP
...
RETURN ::Retreive( Val (::oUrl:cFile ), nLen )

should be

RETURN ::Retrieve( Val (::oUrl:cFile ), nLen )

I'm not sure where commit, so please commit them if confirmed.

best regards,
Lorenzo


More information about the Harbour mailing list