diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 6de9bbd4f2..d6b834e87b 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -15,6 +15,11 @@ under different terms, please contact respective author(s). The license applies to all entries newer than 2009-04-28. */ +2012-10-23 10:37 UTC+0200 Viktor Szakats (harbour syenar.net) + * contrib/hbfbird/firebird.c + ! fixed missing formatting/indenting in prev commit + % simplified code + 2012-10-23 07:15 UTC+0200 Jacek Kubica (jkubica/at/wssk.wroc.pl) * contrib/hbfbird/firebird.c ! correction in FBFETCH() diff --git a/harbour/contrib/hbfbird/firebird.c b/harbour/contrib/hbfbird/firebird.c index 9502b9f9ca..8c326e0449 100644 --- a/harbour/contrib/hbfbird/firebird.c +++ b/harbour/contrib/hbfbird/firebird.c @@ -482,15 +482,8 @@ HB_FUNC( FBFETCH ) /* TOFIX */ fetch_stat = isc_dsql_fetch( status, &stmt, dialect, sqlda ); - if( fetch_stat != 100L ) - { - hb_retnl( isc_sqlcode( status ) ); - return; - } - else { - hb_retnl( -1 ); - return ; - } + hb_retnl( fetch_stat == 100L ? isc_sqlcode( status ) : -1 ); + return; } hb_retnl( 0 );