summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2018-01-22 16:36:10 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2018-01-22 16:36:10 (GMT)
commita5b86950b39f7376331c3726c64418e58c34c10b (patch)
tree5a463bced7fdab19dfda8d7fc2d1f21dbd720450
parentef8ea5abc7d65f339eae94d483a799f9886a2a43 (diff)
downloadblt-a5b86950b39f7376331c3726c64418e58c34c10b.zip
blt-a5b86950b39f7376331c3726c64418e58c34c10b.tar.gz
blt-a5b86950b39f7376331c3726c64418e58c34c10b.tar.bz2
uncorrect 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 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 );