2010-01-21 11:50 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbnetio/netiocli.c
* respect passed parameters as default values in netio_decode()
This commit is contained in:
@@ -17,6 +17,10 @@
|
||||
past entries belonging to author(s): Viktor Szakats.
|
||||
*/
|
||||
|
||||
2010-01-21 11:50 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
|
||||
* harbour/contrib/hbnetio/netiocli.c
|
||||
* respect passed parameters as default values in netio_decode()
|
||||
|
||||
2010-01-21 10:17 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
|
||||
* harbour/src/common/hbffind.c
|
||||
* harbour/src/rtl/filesys.c
|
||||
|
||||
@@ -660,11 +660,13 @@ HB_FUNC( NETIO_DECODE )
|
||||
int iPort, iTimeOut, iPassLen, iLevel, iStrategy;
|
||||
HB_BOOL fResult;
|
||||
|
||||
pszServer = NULL;
|
||||
pszPasswd = NULL;
|
||||
iPort = iTimeOut = iPassLen = 0;
|
||||
iLevel = HB_ZLIB_COMPRESSION_DISABLE;
|
||||
iStrategy = HB_ZLIB_STRATEGY_DEFAULT;
|
||||
pszServer = hb_parc( 2 );
|
||||
iPort = hb_parni( 3 );
|
||||
iTimeOut = hb_parni( 4 );
|
||||
pszPasswd = hb_parc( 5 );
|
||||
iPassLen = ( int ) hb_parclen( 5 );
|
||||
iLevel = hb_parnidef( 6, HB_ZLIB_COMPRESSION_DISABLE );
|
||||
iStrategy = hb_parnidef( 7, HB_ZLIB_STRATEGY_DEFAULT );
|
||||
|
||||
s_fileGetConnParam( &pszServer, &iPort, &iTimeOut, &pszPasswd, &iPassLen );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user