]> granicus.if.org Git - file/commitdiff
make debugging code compile again
authorChristos Zoulas <christos@zoulas.com>
Fri, 27 Feb 2015 21:16:55 +0000 (21:16 +0000)
committerChristos Zoulas <christos@zoulas.com>
Fri, 27 Feb 2015 21:16:55 +0000 (21:16 +0000)
src/cdf.c

index f6d2244af44952f292b5262a2062bacec90fcd12..951f1f2c1aa65f563e779bd11a399adaa0cc5c1e 100644 (file)
--- a/src/cdf.c
+++ b/src/cdf.c
@@ -35,7 +35,7 @@
 #include "file.h"
 
 #ifndef lint
-FILE_RCSID("@(#)$File: cdf.c,v 1.73 2015/01/11 16:58:25 christos Exp $")
+FILE_RCSID("@(#)$File: cdf.c,v 1.74 2015/01/11 17:00:23 christos Exp $")
 #endif
 
 #include <assert.h>
@@ -1483,8 +1483,8 @@ main(int argc, char *argv[])
                else
                        cdf_dump_summary_info(&h, &scn);
 #endif
-               if (cdf_read_catalog(&info, &h, &sat, &ssat, &sst, &dir,
-                   &scn) == -1)
+               if (cdf_read_user_stream(&info, &h, &sat, &ssat, &sst,
+                   &dir, "Catalog", &scn) <= 0)
                        warn("Cannot read catalog");
 #ifdef CDF_DEBUG
                else