From: Christos Zoulas Date: Fri, 27 Feb 2015 21:16:55 +0000 (+0000) Subject: make debugging code compile again X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=39059e2f897cdf08b497f2a386a88ae0c3a0ddcc;p=file make debugging code compile again --- diff --git a/src/cdf.c b/src/cdf.c index 96e2d296..0097f38f 100644 --- 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 @@ -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