]> 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 96e2d296f0c2cf5aa3879ccbac1511affa36ab97..0097f38ff528fcf37cca66664e31f1710d2efbb5 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.74 2015/01/11 17:00:23 christos Exp $")
+FILE_RCSID("@(#)$File: cdf.c,v 1.75 2015/02/27 21:16:55 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