diff options
-rw-r--r-- | ast/fitschan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ast/fitschan.c b/ast/fitschan.c index 107d591..ae7c36e 100644 --- a/ast/fitschan.c +++ b/ast/fitschan.c @@ -32631,7 +32631,7 @@ static void TabSourceWrap( void (*tabsource)( void ), this_id = astAnnulId( this_id ); /* Report an error if the source function failed. */ - if( lstat ) { + if( !lstat ) { astError( AST__NOTAB, "astRead(%s): The table source function failed to read " "a binary table from extension %s in an external FITS file.", status, astGetClass( this ), extname ); |