summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2018-01-21 17:44:14 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2018-01-21 17:44:14 (GMT)
commit6433f573723b6220263db0a7145b67211a9830ae (patch)
tree72a4a7de8af3ca5ceb24a10805a237db833dbdb8
parent605a3749f30ef24a9e6def053d18ec656ef2de52 (diff)
downloadblt-6433f573723b6220263db0a7145b67211a9830ae.zip
blt-6433f573723b6220263db0a7145b67211a9830ae.tar.gz
blt-6433f573723b6220263db0a7145b67211a9830ae.tar.bz2
correct status flag
-rw-r--r--ast/fitschan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ast/fitschan.c b/ast/fitschan.c
index ae7c36e..107d591 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 );